Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Aug 2021 13:21:39 GMT
From:      Kristof Provost <kp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 9ce320820e6d - main - pfctl: build fix
Message-ID:  <202108241321.17ODLdTl015895@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kp:

URL: https://cgit.FreeBSD.org/src/commit/?id=9ce320820e6d760df11a88de11fbae024c18d23c

commit 9ce320820e6d760df11a88de11fbae024c18d23c
Author:     Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2021-08-24 11:21:05 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2021-08-24 11:21:05 +0000

    pfctl: build fix
    
    Fix the build issue introduced in e59eff9ad328 (pfctl: fix killing states by ID)
    
    MFC after:      1 week
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 sbin/pfctl/pfctl.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sbin/pfctl/pfctl.c b/sbin/pfctl/pfctl.c
index ad2cfd4e63bc..016075058b21 100644
--- a/sbin/pfctl/pfctl.c
+++ b/sbin/pfctl/pfctl.c
@@ -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 {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108241321.17ODLdTl015895>