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; _______________________________________________ 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"