diff options
author | kjc <kjc@FreeBSD.org> | 1997-08-12 05:22:54 +0000 |
---|---|---|
committer | kjc <kjc@FreeBSD.org> | 1997-08-12 05:22:54 +0000 |
commit | a2d21c0047a266860cc09cead96d51aad24b23fd (patch) | |
tree | a91980cf47a823094422c10b43578b6b7c9d327b /sys/net | |
parent | ea579a477de5aabed2fd91f73b46be6afbfb2f6d (diff) | |
download | FreeBSD-src-a2d21c0047a266860cc09cead96d51aad24b23fd.zip FreeBSD-src-a2d21c0047a266860cc09cead96d51aad24b23fd.tar.gz |
Fix a traceroute problem in the CISCO HDLC mode. (cisco routers not
returning ICMP_TIMXCEED)
use CISCO_UNICAST instead of CISCO_MULTICAST to send normal packets.
this is needed for packets to get processed by a cisco router,
but doesn't matter if a packet is just forwarded.
Reviewed by:itojun@itojun.org
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_spppsubr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c index 6064932..93dcbe56 100644 --- a/sys/net/if_spppsubr.c +++ b/sys/net/if_spppsubr.c @@ -17,7 +17,7 @@ * * From: Version 1.9, Wed Oct 4 18:58:15 MSK 1995 * - * $Id: if_spppsubr.c,v 1.23 1997/08/06 01:43:09 itojun Exp $ + * $Id: if_spppsubr.c,v 1.24 1997/08/10 14:28:16 joerg Exp $ */ #include <sys/param.h> @@ -539,7 +539,7 @@ sppp_output(struct ifnet *ifp, struct mbuf *m, } h = mtod (m, struct ppp_header*); if (sp->pp_flags & PP_CISCO) { - h->address = CISCO_MULTICAST; /* broadcast address */ + h->address = CISCO_UNICAST; /* unicast address */ h->control = 0; } else { h->address = PPP_ALLSTATIONS; /* broadcast address */ |