diff options
author | ae <ae@FreeBSD.org> | 2017-04-17 09:38:15 +0000 |
---|---|---|
committer | ae <ae@FreeBSD.org> | 2017-04-17 09:38:15 +0000 |
commit | 93c66f329a5c7a8161ceef873184cc5c7b69431c (patch) | |
tree | ce9a8ef9bbd6b539f44ec6181948eb2e6f41d0c5 | |
parent | 7a6d766f1284a41887dd6302256d4bb01df92e5c (diff) | |
download | FreeBSD-src-93c66f329a5c7a8161ceef873184cc5c7b69431c.zip FreeBSD-src-93c66f329a5c7a8161ceef873184cc5c7b69431c.tar.gz |
MFC r316433:
Add the log formatting for an external action opcode.
Obtained from: Yandex LLC
Sponsored by: Yandex LLC
-rw-r--r-- | sys/netpfil/ipfw/ip_fw_log.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/netpfil/ipfw/ip_fw_log.c b/sys/netpfil/ipfw/ip_fw_log.c index a8e53fe..b10b4e7 100644 --- a/sys/netpfil/ipfw/ip_fw_log.c +++ b/sys/netpfil/ipfw/ip_fw_log.c @@ -264,6 +264,11 @@ ipfw_log(struct ip_fw_chain *chain, struct ip_fw *f, u_int hlen, 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; |