Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!labrea!aurora!ames!sgi!vjs From: vjs@sgi.UUCP Newsgroups: comp.protocols.tcp-ip Subject: Re: IP options Message-ID: <6211@sgi.SGI.COM> Date: Sat, 12-Sep-87 21:02:11 EDT Article-I.D.: sgi.6211 Posted: Sat Sep 12 21:02:11 1987 Date-Received: Sun, 13-Sep-87 10:22:26 EDT References: <423@root44.co.uk> <8709092006.AA09597@okeeffe.Berkeley.EDU> Sender: daemon@sgi.SGI.COM Organization: Silicon Graphics Inc, Mountain View, CA Lines: 21 Summary: fix does not compile In article <8709092006.AA09597@okeeffe.Berkeley.EDU>, karels%okeeffe@UCBVAX.BERKELEY.EDU (Mike Karels) writes: > + * Also, don't send redirect if forwarding using a default route > + * or a route modfied by a redirect. > */ > + #define satosin(sa) ((struct sockaddr_in *)(sa)) > if (ipforward_rt.ro_rt && ipforward_rt.ro_rt->rt_ifp == ifp && > + (ipforward_rt.ro_rt->rt_flags & (RTF_DYNAMIC|RTF_MODIFIED)) == 0 && > + satosin(&ipforward_rt.ro_rt->rt_dst)->sin_addr.s_addr != 0 && > ipsendredirects && ip->ip_hl == (sizeof(struct ip) >> 2)) { I have been faithfully following the 4.3 fixes posted here and in the 'official' news group. However, RTF_MODIFIED does not seem to be defined in my source. If I have missed something, would someone please give me a pointer to it? Else, might there be fixes pending to #define it and to set it? Thank you Vernon Schryver Silicon Graphics, Inc vjs@sgi.com or {decwrl,pyramid,sun,ucbvax,allegra}!sgi!vjs