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")

(cherry picked from commit 9ce320820e)
This commit is contained in:
Kristof Provost 2021-08-24 13:21:05 +02:00
parent 5b7336a489
commit d4c7ab9b1d

View file

@ -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 {