summaryrefslogtreecommitdiff
path: root/proto/ospf
diff options
context:
space:
mode:
Diffstat (limited to 'proto/ospf')
-rw-r--r--proto/ospf/iface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/iface.c b/proto/ospf/iface.c
index 70ad7462..c9e1808e 100644
--- a/proto/ospf/iface.c
+++ b/proto/ospf/iface.c
@@ -310,7 +310,7 @@ ospf_if_notify(struct proto *p, unsigned flags, struct iface *iface)
OSPF_TRACE(D_EVENTS, "Using interface %s.", iface->name);
lock = olock_new( p->pool );
lock->addr = AllSPFRouters;
- lock->type = OBJLOCK_UDP;
+ lock->type = OBJLOCK_IP;
lock->port = OSPF_PROTO;
lock->iface = iface;
lock->data = p;