svn commit: r351563 - head/sys/contrib/ipfilter/netinet
Cy Schubert
cy at FreeBSD.org
Wed Aug 28 04:55:18 UTC 2019
Author: cy
Date: Wed Aug 28 04:55:17 2019
New Revision: 351563
URL: https://svnweb.freebsd.org/changeset/base/351563
Log:
Document ipf_nat_hashtab_add() return codes.
MFC after: 3 days
Modified:
head/sys/contrib/ipfilter/netinet/ip_nat.c
Modified: head/sys/contrib/ipfilter/netinet/ip_nat.c
==============================================================================
--- head/sys/contrib/ipfilter/netinet/ip_nat.c Wed Aug 28 04:55:03 2019 (r351562)
+++ head/sys/contrib/ipfilter/netinet/ip_nat.c Wed Aug 28 04:55:17 2019 (r351563)
@@ -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 */
More information about the svn-src-head
mailing list