summaryrefslogtreecommitdiffstats
path: root/sys/netgraph
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2006-10-13 09:11:12 +0000
committerglebius <glebius@FreeBSD.org>2006-10-13 09:11:12 +0000
commitda25bed089dd92f87f9309cfd4da0bc9b136bb1e (patch)
tree07291f67b1972ed592b3a42dff3a4d19795c0702 /sys/netgraph
parentdf3c1f64201e36000303992d251a98b1aad0f846 (diff)
downloadFreeBSD-src-da25bed089dd92f87f9309cfd4da0bc9b136bb1e.zip
FreeBSD-src-da25bed089dd92f87f9309cfd4da0bc9b136bb1e.tar.gz
Fix result of some mechanical change that I did some time ago, when
writing this node.
Diffstat (limited to 'sys/netgraph')
-rw-r--r--sys/netgraph/ng_nat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netgraph/ng_nat.c b/sys/netgraph/ng_nat.c
index bb3f828..84d3598 100644
--- a/sys/netgraph/ng_nat.c
+++ b/sys/netgraph/ng_nat.c
@@ -86,14 +86,14 @@ NETGRAPH_INIT(nat, &typestruct);
MODULE_DEPEND(ng_nat, libalias, 1, 1, 1);
/* Information we store for each node. */
-struct ng_priv_priv {
+struct ng_nat_priv {
node_p node; /* back pointer to node */
hook_p in; /* hook for demasquerading */
hook_p out; /* hook for masquerading */
struct libalias *lib; /* libalias handler */
uint32_t flags; /* status flags */
};
-typedef struct ng_priv_priv *priv_p;
+typedef struct ng_nat_priv *priv_p;
/* Values of flags */
#define NGNAT_READY 0x1 /* We have everything to work */
OpenPOWER on IntegriCloud