mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-03 23:28:58 +00:00
pfctl: build fix
Fix the build issue introduced ine59eff9ad3
(pfctl: fix killing states by ID) MFC after: 1 week Sponsored by: Rubicon Communications, LLC ("Netgate") (cherry picked from commit9ce320820e
)
This commit is contained in:
parent
5b7336a489
commit
d4c7ab9b1d
|
@ -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