summaryrefslogtreecommitdiffstats
path: root/proto/ospf/ospf.c
diff options
context:
space:
mode:
Diffstat (limited to 'proto/ospf/ospf.c')
-rw-r--r--proto/ospf/ospf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto/ospf/ospf.c b/proto/ospf/ospf.c
index 606ab9d..2836561 100644
--- a/proto/ospf/ospf.c
+++ b/proto/ospf/ospf.c
@@ -229,6 +229,7 @@ ospf_open_socket(struct proto *p, struct ospf_iface *ifa)
mcsk->dport=OSPF_PROTO;
mcsk->saddr=AllSPFRouters;
mcsk->daddr=AllSPFRouters;
+ mcsk->tos=OSPF_IP_PRI;
mcsk->ttl=1;
mcsk->rx_hook=ospf_rx_hook;
mcsk->tx_hook=ospf_tx_hook;