diff options
author | wollman <wollman@FreeBSD.org> | 1995-06-16 16:57:20 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1995-06-16 16:57:20 +0000 |
commit | d395e15c7cbb5d2a03648fcd52f9e6ab621381a7 (patch) | |
tree | 557684113559d72c7f4427e6d2e5b15c8c9249d5 /usr.sbin/mrouted | |
parent | 3ab2271645b47296675c6249cf38d86f63b66c52 (diff) | |
download | FreeBSD-src-d395e15c7cbb5d2a03648fcd52f9e6ab621381a7.zip FreeBSD-src-d395e15c7cbb5d2a03648fcd52f9e6ab621381a7.tar.gz |
Fix pruning bug described in PR 524.
Submitted by: Soochon Radee <slr@mitre.org>
Diffstat (limited to 'usr.sbin/mrouted')
-rw-r--r-- | usr.sbin/mrouted/prune.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/mrouted/prune.c b/usr.sbin/mrouted/prune.c index 96d282e..df4a8e5 100644 --- a/usr.sbin/mrouted/prune.c +++ b/usr.sbin/mrouted/prune.c @@ -7,7 +7,7 @@ * Leland Stanford Junior University. * * - * $Id: prune.c,v 3.5 1995/05/09 01:00:39 fenner Exp $ + * $Id: prune.c,v 1.6 1995/06/13 18:04:57 wollman Exp $ */ @@ -1212,6 +1212,7 @@ accept_prune(src, dst, p, datalen) ((char *)&prun_grp)[i] = *p++; for (i = 0; i< 4; i++) ((char *)&prun_tmr)[i] = *p++; + prun_tmr = ntohl(prun_tmr); log(LOG_DEBUG, 0, "%s on vif %d prunes (%s %s)/%d", inet_fmt(src, s1), vifi, |