diff options
author | Martin Mares <mj@ucw.cz> | 2000-04-10 10:40:00 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-04-10 10:40:00 +0000 |
commit | 287111fed1c8e9eb135df1108ea747e02b30e9e9 (patch) | |
tree | 6b172804ad36a6eb72354622c1aaf54d2ae29436 /nest/iface.c | |
parent | ef2c708dfac4c8b4b5ab0ed8b71842da5c7ab3d7 (diff) |
Fix stupid bug in neighbor cache.
Diffstat (limited to 'nest/iface.c')
-rw-r--r-- | nest/iface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nest/iface.c b/nest/iface.c index 0ba6bef9..b58b183d 100644 --- a/nest/iface.c +++ b/nest/iface.c @@ -232,8 +232,8 @@ if_update(struct iface *new) i = mb_alloc(if_pool, sizeof(struct iface)); memcpy(i, new, sizeof(*i)); init_list(&i->addrs); - init_list(&i->neighbors); newif: + init_list(&i->neighbors); i->flags |= IF_UPDATED | IF_TMP_DOWN; /* Tmp down as we don't have addresses yet */ add_tail(&iface_list, &i->n); return i; |