From 3e1f30610e109b3eff7e3d8b420c4b7988bd3152 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Tue, 1 Jun 1999 13:57:24 +0000 Subject: Defined IP_PREC_INTERNET_CONTROL and made all (well, both :)) protocols use it when creating sockets. --- proto/rip/rip.c | 1 + 1 file changed, 1 insertion(+) (limited to 'proto/rip/rip.c') diff --git a/proto/rip/rip.c b/proto/rip/rip.c index a3ddf615..a2457b79 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; -- cgit v1.2.3