Skip to content

Commit

Permalink
pointer/numeric mixup to IN_MULTICAST.
Browse files Browse the repository at this point in the history
  • Loading branch information
itojun committed Apr 20, 2000
1 parent 309430e commit 45aa31d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kame/sys/netinet/in_gif.c
@@ -1,4 +1,4 @@
/* $KAME: in_gif.c,v 1.36 2000/04/19 04:51:58 itojun Exp $ */
/* $KAME: in_gif.c,v 1.37 2000/04/20 02:00:25 itojun Exp $ */

/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
Expand Down Expand Up @@ -371,7 +371,7 @@ gif_encapcheck4(m, off, proto, arg)
return 0;

/* martian filters on outer source - NOT done in ip_input! */
if (IN_MULTICAST(&ip.ip_src.s_addr))
if (IN_MULTICAST(ip.ip_src.s_addr))
return 0;
switch ((ntohl(ip.ip_src.s_addr) & 0xff000000) >> 24) {
case 0: case 127: case 255:
Expand Down

0 comments on commit 45aa31d

Please sign in to comment.