summaryrefslogtreecommitdiffstats
path: root/proto/rip/rip.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/rip/rip.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/rip/rip.c')
-rw-r--r--proto/rip/rip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto/rip/rip.c b/proto/rip/rip.c
index a3ddf61..a2457b7 100644
--- a/proto/rip/rip.c
+++ b/proto/rip/rip.c
@@ -488,6 +488,7 @@ new_iface(struct proto *p, struct iface *new, unsigned long flags, struct iface_
rif->sock->daddr = IPA_NONE;
rif->sock->dport = P_CF->port;
rif->sock->ttl = 1; /* FIXME: care must be taken not to send requested responses from this socket */
+ rif->sock->tos = IP_PREC_INTERNET_CONTROL;
if (flags & IF_BROADCAST)
rif->sock->daddr = new->addr->brd;