2004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>

* connected.c: (connected_add_ipv4) Limit warning about /32 addresses
	  with no peer specified to PtP interfaces only.
This commit is contained in:
ajs 2004-12-22 16:32:16 +00:00
parent afc44c29bc
commit 341a8f1ac9
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* connected.c: (connected_add_ipv4) Limit warning about /32 addresses
with no peer specified to PtP interfaces only.
2004-12-18 Hasso Tepper <hasso at quagga.net>
* zebra_vty.c: Fix "show ipv6 route <proto>" command help and make it

View File

@ -156,9 +156,9 @@ connected_add_ipv4 (struct interface *ifp, int flags, struct in_addr *addr,
}
else
/* no broadcast or destination address was supplied */
if (prefixlen == IPV4_MAX_PREFIXLEN)
zlog_warn("warning: interface %s with addr %s/%d needs a peer address",
ifp->name,inet_ntoa(*addr),prefixlen);
if ((prefixlen == IPV4_MAX_PREFIXLEN) && if_is_pointopoint(ifp))
zlog_warn("warning: PtP interface %s with addr %s/%d needs a "
"peer address",ifp->name,inet_ntoa(*addr),prefixlen);
/* Label of this address. */
if (label)