diff options
author | Maria Matejka <mq@ucw.cz> | 2022-03-02 10:01:44 +0100 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2022-03-02 10:01:44 +0100 |
commit | d071aca7aaf7a4add9e0d1d93029fb9a0fad560a (patch) | |
tree | 89999b8a4ab23b2243f8cbfca7bb700e85fae36b /proto/ospf | |
parent | fcb4dd0c831339c4374ace17d8f2ae6ebfeed279 (diff) | |
parent | 2c13759136951ef0e70a3e3c2b2d3c9a387f7ed9 (diff) |
Merge commit '2c13759136951ef0e70a3e3c2b2d3c9a387f7ed9' into haugesund
Diffstat (limited to 'proto/ospf')
-rw-r--r-- | proto/ospf/iface.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/proto/ospf/iface.c b/proto/ospf/iface.c index f38b8210..4cd45033 100644 --- a/proto/ospf/iface.c +++ b/proto/ospf/iface.c @@ -522,7 +522,10 @@ static inline void add_nbma_node(struct ospf_iface *ifa, struct nbma_node *src, int found) { struct nbma_node *n = mb_alloc(ifa->pool, sizeof(struct nbma_node)); + + n->n = (node) {}; add_tail(&ifa->nbma_list, NODE n); + n->ip = src->ip; n->eligible = src->eligible; n->found = found; |