summaryrefslogtreecommitdiffstats
path: root/proto/ospf/ospf.c
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-06-01 15:57:24 +0200
committerMartin Mares <mj@ucw.cz>1999-06-01 15:57:24 +0200
commit3e1f30610e109b3eff7e3d8b420c4b7988bd3152 (patch)
treef596787bb62fc442b234026fb7c0f337d18163f1 /proto/ospf/ospf.c
parent9de840bdbd59669a129f68f1ff3595b34439ec09 (diff)
downloadbird-3e1f30610e109b3eff7e3d8b420c4b7988bd3152.tar
bird-3e1f30610e109b3eff7e3d8b420c4b7988bd3152.zip
Defined IP_PREC_INTERNET_CONTROL and made all (well, both :)) protocols
use it when creating sockets.
Diffstat (limited to 'proto/ospf/ospf.c')
-rw-r--r--proto/ospf/ospf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/ospf.c b/proto/ospf/ospf.c
index 2836561..47c87f8 100644
--- a/proto/ospf/ospf.c
+++ b/proto/ospf/ospf.c
@@ -229,7 +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->tos=IP_PREC_INTERNET_CONTROL;
mcsk->ttl=1;
mcsk->rx_hook=ospf_rx_hook;
mcsk->tx_hook=ospf_tx_hook;