diff options
Diffstat (limited to 'sys/netgraph/ng_gif.c')
-rw-r--r-- | sys/netgraph/ng_gif.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netgraph/ng_gif.c b/sys/netgraph/ng_gif.c index 135d66c..5d948bd 100644 --- a/sys/netgraph/ng_gif.c +++ b/sys/netgraph/ng_gif.c @@ -89,8 +89,8 @@ #include <netgraph/ng_parse.h> #include <netgraph/ng_gif.h> -#define IFP2NG(ifp) ((struct ng_node *)((struct gif_softc *)(ifp))->gif_netgraph) -#define IFP2NG_SET(ifp, val) (((struct gif_softc *)(ifp))->gif_netgraph = (val)) +#define IFP2NG(ifp) ((struct ng_node *)((struct gif_softc *)(ifp->if_softc))->gif_netgraph) +#define IFP2NG_SET(ifp, val) (((struct gif_softc *)(ifp->if_softc))->gif_netgraph = (val)) /* Per-node private data */ struct private { |