diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-08-08 16:01:59 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-08-08 16:01:59 +0000 |
commit | 80b58014668474a4ae5f9b3fd5026033ffc529ca (patch) | |
tree | c20b65d4d4d59dea59db8f57f3451b52e960b58d /pfinet/linux-inet | |
parent | 42109ab3c2bb6e5787ad2beecbf5cfa7fdd79e48 (diff) |
entered into RCS
Diffstat (limited to 'pfinet/linux-inet')
-rw-r--r-- | pfinet/linux-inet/igmp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pfinet/linux-inet/igmp.c b/pfinet/linux-inet/igmp.c index eebf3b77..32e42213 100644 --- a/pfinet/linux-inet/igmp.c +++ b/pfinet/linux-inet/igmp.c @@ -48,7 +48,7 @@ static void igmp_stop_timer(struct ip_mc_list *im) im->tm_running=0; } -static int random(void) +static int igmp_random(void) { static unsigned long seed=152L; seed=seed*69069L+1; @@ -61,7 +61,7 @@ static void igmp_start_timer(struct ip_mc_list *im) int tv; if(im->tm_running) return; - tv=random()%(10*HZ); /* Pick a number any number 8) */ + tv=igmp_random()%(10*HZ); /* Pick a number any number 8) */ im->timer.expires=tv; im->tm_running=1; add_timer(&im->timer); |