aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2019-08-28 04:55:17 +0000
committerCy Schubert <cy@FreeBSD.org>2019-08-28 04:55:17 +0000
commitd8deeff04d58117f45068bae81935973eed3f7e7 (patch)
treebf1e36b0a4ebaa1118937976b4be358ab4e348bc /sys
parentd49ffa766460fd6e1c736c03cc516d3b22decfc4 (diff)
downloadsrc-d8deeff04d58117f45068bae81935973eed3f7e7.tar.gz
src-d8deeff04d58117f45068bae81935973eed3f7e7.zip
Document ipf_nat_hashtab_add() return codes.
MFC after: 3 days
Notes
Notes: svn path=/head/; revision=351563
Diffstat (limited to 'sys')
-rw-r--r--sys/contrib/ipfilter/netinet/ip_nat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/contrib/ipfilter/netinet/ip_nat.c b/sys/contrib/ipfilter/netinet/ip_nat.c
index e2de7eade5df..e57ef8c9a97a 100644
--- a/sys/contrib/ipfilter/netinet/ip_nat.c
+++ b/sys/contrib/ipfilter/netinet/ip_nat.c
@@ -3498,6 +3498,7 @@ ipf_nat_insert(softc, softn, nat)
/* ------------------------------------------------------------------------ */
/* Function: ipf_nat_hashtab_add */
+/* Returns: int - 0 == sucess, -1 == failure */
/* Parameters: softc(I) - pointer to soft context main structure */
/* softn(I) - pointer to NAT context structure */
/* nat(I) - pointer to NAT structure */