svn commit: r317044 - stable/11/sys/netpfil/ipfw

Andrey V. Elsukov ae at FreeBSD.org
Mon Apr 17 09:38:16 UTC 2017


Author: ae
Date: Mon Apr 17 09:38:15 2017
New Revision: 317044
URL: https://svnweb.freebsd.org/changeset/base/317044

Log:
  MFC r316433:
    Add the log formatting for an external action opcode.
  
    Obtained from:	Yandex LLC
    Sponsored by:	Yandex LLC

Modified:
  stable/11/sys/netpfil/ipfw/ip_fw_log.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/netpfil/ipfw/ip_fw_log.c
==============================================================================
--- stable/11/sys/netpfil/ipfw/ip_fw_log.c	Mon Apr 17 09:36:35 2017	(r317043)
+++ stable/11/sys/netpfil/ipfw/ip_fw_log.c	Mon Apr 17 09:38:15 2017	(r317044)
@@ -264,6 +264,11 @@ ipfw_log(struct ip_fw_chain *chain, stru
 				snprintf(SNPARGS(action2, 0), "Call %d",
 				    cmd->arg1);
 			break;
+		case O_EXTERNAL_ACTION:
+			snprintf(SNPARGS(action2, 0), "Eaction %s",
+			    ((struct named_object *)SRV_OBJECT(chain,
+			    cmd->arg1))->name);
+			break;
 		default:
 			action = "UNKNOWN";
 			break;


More information about the svn-src-stable mailing list