Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Aug 2021 11:51:46 GMT
From:      Kristof Provost <kp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: d4c7ab9b1d00 - stable/13 - pfctl: build fix
Message-ID:  <202108311151.17VBpk51096379@gitrepo.freebsd.org>

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

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

commit d4c7ab9b1d00075cad1e7edc39ae0ad941ef1e88
Author:     Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2021-08-24 11:21:05 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2021-08-31 07:47:47 +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")
    
    (cherry picked from commit 9ce320820e6d760df11a88de11fbae024c18d23c)
---
 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?202108311151.17VBpk51096379>