From 2023ed4023adb90dd28ca1be607c88428c6c296d Mon Sep 17 00:00:00 2001 From: julian Date: Mon, 26 Feb 2001 09:31:54 +0000 Subject: Allow a changed MAC address to show up in ifconfig by changing it in the ifaddr list as well. Also change an error return in the base system. --- sys/netgraph/ng_base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/netgraph/ng_base.c') diff --git a/sys/netgraph/ng_base.c b/sys/netgraph/ng_base.c index 5e72d914..dbcc208 100644 --- a/sys/netgraph/ng_base.c +++ b/sys/netgraph/ng_base.c @@ -3436,7 +3436,7 @@ ng_address_hook(node_p here, item_p item, hook_p hook, ng_ID_t retaddr) || NG_NODE_NOT_VALID(NG_PEER_NODE(hook))) { NG_FREE_ITEM(item); TRAP_ERROR(); - return (EINVAL); + return (ENETDOWN); } /* -- cgit v1.1