From a2d21c0047a266860cc09cead96d51aad24b23fd Mon Sep 17 00:00:00 2001 From: kjc Date: Tue, 12 Aug 1997 05:22:54 +0000 Subject: [PATCH] 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 --- sys/net/if_spppsubr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c index 606493285af1..93dcbe56e202 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 @@ -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 */