Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Apr 2017 02:26:31 +0000 (UTC)
From:      "Andrey V. Elsukov" <ae@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r316433 - head/sys/netpfil/ipfw
Message-ID:  <201704030226.v332QVuh021946@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ae
Date: Mon Apr  3 02:26:30 2017
New Revision: 316433
URL: https://svnweb.freebsd.org/changeset/base/316433

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

Modified:
  head/sys/netpfil/ipfw/ip_fw_log.c

Modified: head/sys/netpfil/ipfw/ip_fw_log.c
==============================================================================
--- head/sys/netpfil/ipfw/ip_fw_log.c	Mon Apr  3 01:57:03 2017	(r316432)
+++ head/sys/netpfil/ipfw/ip_fw_log.c	Mon Apr  3 02:26:30 2017	(r316433)
@@ -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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704030226.v332QVuh021946>