Add the log formatting for an external action opcode.
Obtained from: Yandex LLC MFC after: 2 weeks Sponsored by: Yandex LLC
This commit is contained in:
parent
aeaef479fa
commit
399ad57874
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=316433
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user