diff options
| author | Julian Elischer <julian@FreeBSD.org> | 2004-07-20 17:15:38 +0000 |
|---|---|---|
| committer | Julian Elischer <julian@FreeBSD.org> | 2004-07-20 17:15:38 +0000 |
| commit | be4252b3678cb9f12ac9cbc4b9d827b06d073799 (patch) | |
| tree | 1ffde5acbe2efbfe316cb725d560740f7caca117 /sys/netgraph/atm | |
| parent | 01f679a25fb93dbfae502fc7c8db95db5d405748 (diff) | |
Notes
Diffstat (limited to 'sys/netgraph/atm')
| -rw-r--r-- | sys/netgraph/atm/ng_atm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netgraph/atm/ng_atm.c b/sys/netgraph/atm/ng_atm.c index f33f2c5c4e377..de57bee75312b 100644 --- a/sys/netgraph/atm/ng_atm.c +++ b/sys/netgraph/atm/ng_atm.c @@ -1317,7 +1317,7 @@ ng_atm_shutdown(node_p node) { struct priv *priv = NG_NODE_PRIVATE(node); - if (node->nd_flags & NG_REALLY_DIE) { + if (node->nd_flags & NGF_REALLY_DIE) { /* * We are called from unloading the ATM driver. Really, * really need to shutdown this node. The ifp was @@ -1332,7 +1332,7 @@ ng_atm_shutdown(node_p node) #ifdef NGATM_DEBUG if (!allow_shutdown) - node->nd_flags &= ~NG_INVALID; + NG_NODE_REVIVE(node); /* we persist */ else { IFP2NG(priv->ifp) = NULL; NG_NODE_SET_PRIVATE(node, NULL); @@ -1343,7 +1343,7 @@ ng_atm_shutdown(node_p node) /* * We are persistant - reinitialize */ - node->nd_flags &= ~NG_INVALID; + NG_NODE_REVIVE(node); #endif return (0); } |
