1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-29 12:03:03 +00:00

Consider IFF_UP as "administratively up" flag, and IFF_RUNNING as

"operationally up" flag. Hence this, revert 1.35 to use IFF_RUNNING.
This commit is contained in:
Gleb Smirnoff 2005-01-14 11:52:45 +00:00
parent d7b6d54b15
commit e3d0434573
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=140239

View File

@ -735,10 +735,10 @@ ng_iface_rcvmsg(node_p node, item_p item, hook_p lasthook)
case NGM_FLOW_COOKIE:
switch (msg->header.cmd) {
case NGM_LINK_IS_UP:
ifp->if_flags |= IFF_UP;
ifp->if_flags |= IFF_RUNNING;
break;
case NGM_LINK_IS_DOWN:
ifp->if_flags &= ~IFF_UP;
ifp->if_flags &= ~IFF_RUNNING;
break;
default:
break;