summaryrefslogtreecommitdiff
path: root/proto/ospf/hello.c
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2012-10-31 17:14:35 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2012-10-31 17:14:35 +0100
commitdd4da6f640fb581cbd7d1ca537bf382558492b8e (patch)
tree13584e9c9e5f9bd30022563a0257db25f96b74b0 /proto/ospf/hello.c
parent8249ad9b304ea88b29e3aea76ebe49bb50348aaa (diff)
Fixes another bug in OSPFv3 vlinks.
Diffstat (limited to 'proto/ospf/hello.c')
-rw-r--r--proto/ospf/hello.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/hello.c b/proto/ospf/hello.c
index f9ba28f6..6ec5c511 100644
--- a/proto/ospf/hello.c
+++ b/proto/ospf/hello.c
@@ -261,7 +261,7 @@ ospf_hello_send(struct ospf_iface *ifa, int kind, struct ospf_neighbor *dirn)
pkt->priority = ifa->priority;
#ifdef OSPFv3
- pkt->iface_id = htonl(ifa->iface->index);
+ pkt->iface_id = htonl(ifa->iface_id);
pkt->options3 = ifa->oa->options >> 16;
pkt->options2 = ifa->oa->options >> 8;