diff options
Diffstat (limited to 'sys/netgraph/ng_ether.c')
-rw-r--r-- | sys/netgraph/ng_ether.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/netgraph/ng_ether.c b/sys/netgraph/ng_ether.c index 18faa65..69e1b35 100644 --- a/sys/netgraph/ng_ether.c +++ b/sys/netgraph/ng_ether.c @@ -609,6 +609,9 @@ ng_ether_rcvdata(hook_p hook, item_p item) if (hook == priv->upper) return ng_ether_rcv_upper(node, m, meta); panic("%s: weird hook", __FUNCTION__); +#ifdef RESTARTABLE_PANICS /* so we don;t get an error msg in LINT */ + return NULL; +#endif } /* |