Author: eugen
Date: Wed Feb 12 00:46:33 2020
New Revision: 357787
URL: https://svnweb.freebsd.org/changeset/base/357787

Log:
  ipfw nat: add missing bits after r357092 (RFC 6598/Carrier Grade NAT)
  
  Submitted by: Neel Chauhan <neel AT neelc DOT org>
  Reviewed by:  Lutz Donnerhacke
  MFC after:    1 week
  Differential Revision:        https://reviews.freebsd.org/D23448

Modified:
  head/sbin/ipfw/nat.c

Modified: head/sbin/ipfw/nat.c
==============================================================================
--- head/sbin/ipfw/nat.c        Wed Feb 12 00:31:00 2020        (r357786)
+++ head/sbin/ipfw/nat.c        Wed Feb 12 00:46:33 2020        (r357787)
@@ -793,6 +793,7 @@ ipfw_config_nat(int ac, char **av)
                case TOK_SAME_PORTS:
                case TOK_SKIP_GLOBAL:
                case TOK_UNREG_ONLY:
+               case TOK_UNREG_CGN:
                case TOK_RESET_ADDR:
                case TOK_ALIAS_REV:
                case TOK_PROXY_ONLY:
@@ -886,6 +887,9 @@ ipfw_config_nat(int ac, char **av)
                        break;
                case TOK_UNREG_ONLY:
                        n->mode |= PKT_ALIAS_UNREGISTERED_ONLY;
+                       break;
+               case TOK_UNREG_CGN:
+                       n->mode |= PKT_ALIAS_UNREGISTERED_CGN;
                        break;
                case TOK_SKIP_GLOBAL:
                        n->mode |= PKT_ALIAS_SKIP_GLOBAL;
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to