if we're unsure about prefixlen, don't say "128".
This commit is contained in:
parent
65829ef6aa
commit
a1662dac72
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: route.c,v 1.56 2002/06/05 22:10:44 itojun Exp $ */
|
||||
/* $NetBSD: route.c,v 1.57 2002/06/05 22:11:28 itojun Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1983, 1989, 1991, 1993
|
||||
@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 1989, 1991, 1993\n\
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)route.c 8.6 (Berkeley) 4/28/95";
|
||||
#else
|
||||
__RCSID("$NetBSD: route.c,v 1.56 2002/06/05 22:10:44 itojun Exp $");
|
||||
__RCSID("$NetBSD: route.c,v 1.57 2002/06/05 22:11:28 itojun Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
@ -1109,8 +1109,6 @@ inet6_makenetandmask(sin6)
|
||||
memset(&in6, 0, sizeof(in6));
|
||||
if (!memcmp(&sin6->sin6_addr.s6_addr[8], &in6.s6_addr[8], 8))
|
||||
plen = "64";
|
||||
else
|
||||
plen = "128";
|
||||
}
|
||||
|
||||
if (!plen || strcmp(plen, "128") == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user