Date: Mon, 17 Apr 2017 09:38:15 +0000 (UTC) From: "Andrey V. Elsukov" <ae@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r317044 - stable/11/sys/netpfil/ipfw Message-ID: <201704170938.v3H9cF0o021868@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704170938.v3H9cF0o021868>