From 52a43ae3b76f86b697537bc3ad8afdb3b421cf2c Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Mon, 28 Mar 2011 22:46:18 +0200 Subject: Minor changes in addresses. Mainly changes IA_UNNUMBERED to IA_PEER and adds IA_HOST. Also do not show broadcast addr in show interfaces. Nobody cares for that. --- nest/neighbor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nest/neighbor.c') diff --git a/nest/neighbor.c b/nest/neighbor.c index 1e0780c..1a5ac21 100644 --- a/nest/neighbor.c +++ b/nest/neighbor.c @@ -66,7 +66,7 @@ if_connected(ip_addr *a, struct iface *i) /* -1=error, 1=match, 0=no match */ { if (ipa_equal(*a, b->ip)) return SCOPE_HOST; - if (b->flags & IA_UNNUMBERED) + if (b->flags & IA_PEER) { if (ipa_equal(*a, b->opposite)) return b->scope; -- cgit v1.2.3