Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/sys/netinet pullup 1.19->1.20 (Heiko Rupp): fix handlin...



details:   https://anonhg.NetBSD.org/src/rev/b5d1d6e5ff11
branches:  netbsd-1-4
changeset: 468474:b5d1d6e5ff11
user:      perry <perry%NetBSD.org@localhost>
date:      Mon Apr 26 15:45:02 1999 +0000

description:
pullup 1.19->1.20 (Heiko Rupp): fix handling of packets with 0 timer values.

diffstat:

 sys/netinet/igmp.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r db3e3887f1b7 -r b5d1d6e5ff11 sys/netinet/igmp.c
--- a/sys/netinet/igmp.c        Mon Apr 26 15:43:49 1999 +0000
+++ b/sys/netinet/igmp.c        Mon Apr 26 15:45:02 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: igmp.c,v 1.19 1999/01/19 23:03:20 mycroft Exp $        */
+/*     $NetBSD: igmp.c,v 1.19.2.1 1999/04/26 15:45:02 perry Exp $      */
 
 /*
  * Internet Group Management Protocol (IGMP) routines.
@@ -199,6 +199,8 @@
                        }
 
                        timer = igmp->igmp_code * PR_FASTHZ / IGMP_TIMER_SCALE;
+                       if (timer == 0)
+                               timer =1;
 
                        /*
                         * Start the timers in all of our membership records



Home | Main Index | Thread Index | Old Index