mirror of
https://github.com/opnsense/src.git
synced 2026-04-04 08:55:18 -04:00
pfctl: build fix
Fix the build issue introduced in e59eff9ad3 (pfctl: fix killing states by ID)
MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")
This commit is contained in:
parent
bbf832f344
commit
9ce320820e
1 changed files with 2 additions and 1 deletions
|
|
@ -907,7 +907,8 @@ pfctl_id_kill_states(int dev, const char *iface, int opts)
|
|||
kill.kill_match = true;
|
||||
|
||||
if ((sscanf(state_kill[1], "%jx/%x",
|
||||
&kill.cmp.id, &kill.cmp.creatorid)) == 2)
|
||||
&kill.cmp.id, &kill.cmp.creatorid)) == 2) {
|
||||
}
|
||||
else if ((sscanf(state_kill[1], "%jx", &kill.cmp.id)) == 1) {
|
||||
kill.cmp.creatorid = 0;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue