diff options
author | brian <brian@FreeBSD.org> | 1998-06-27 12:03:50 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1998-06-27 12:03:50 +0000 |
commit | 6a5332c7c79dd1e6809f85f057a351c5f861749e (patch) | |
tree | a386301ec5dd09bbb7f26f0a6d1a58af9f87d614 /usr.sbin/ppp/filter.c | |
parent | 0e8196a1ea13c1cc385e349ebf8dde5e70b1b7aa (diff) | |
download | FreeBSD-src-6a5332c7c79dd1e6809f85f057a351c5f861749e.zip FreeBSD-src-6a5332c7c79dd1e6809f85f057a351c5f861749e.tar.gz |
Don't assume ``sizeof(u_long) == 4''
Submitted by: Theo
Diffstat (limited to 'usr.sbin/ppp/filter.c')
-rw-r--r-- | usr.sbin/ppp/filter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/filter.c b/usr.sbin/ppp/filter.c index b65eace..3437d11 100644 --- a/usr.sbin/ppp/filter.c +++ b/usr.sbin/ppp/filter.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: filter.c,v 1.23 1998/05/21 21:45:13 brian Exp $ + * $Id: filter.c,v 1.24 1998/06/15 19:06:07 brian Exp $ * * TODO: Shoud send ICMP error message when we discard packets. */ @@ -59,7 +59,7 @@ static int filter_Nam2Proto(int, char const *const *); static int filter_Nam2Op(const char *); -static const u_long netmasks[33] = { +static const u_int32_t netmasks[33] = { 0x00000000, 0x80000000, 0xC0000000, 0xE0000000, 0xF0000000, 0xF8000000, 0xFC000000, 0xFE000000, 0xFF000000, |