summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2008-03-04 11:10:54 +0000
committermav <mav@FreeBSD.org>2008-03-04 11:10:54 +0000
commit7e474ff50b87894dc2021bd25ddb1f2633d462da (patch)
treecb829a5ffb4df56af3ac93d80c1e2e1f0eadce7b /sys
parent02dada141b69065d6a9fab37b630495e37673fc7 (diff)
downloadFreeBSD-src-7e474ff50b87894dc2021bd25ddb1f2633d462da.zip
FreeBSD-src-7e474ff50b87894dc2021bd25ddb1f2633d462da.tar.gz
Fix incorrect field name.
Diffstat (limited to 'sys')
-rw-r--r--sys/netgraph/ng_nat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netgraph/ng_nat.h b/sys/netgraph/ng_nat.h
index f5eba59..86cc17e 100644
--- a/sys/netgraph/ng_nat.h
+++ b/sys/netgraph/ng_nat.h
@@ -76,7 +76,7 @@ struct ng_nat_redirect_port {
{ "local_port", &ng_parse_uint16_type }, \
{ "alias_port", &ng_parse_uint16_type }, \
{ "remote_port", &ng_parse_uint16_type }, \
- { "udp", &ng_parse_uint8_type }, \
+ { "proto", &ng_parse_uint8_type }, \
{ "description", (desctype) }, \
{ NULL } \
}
OpenPOWER on IntegriCloud