Don't flush old osbuildapi entries in nftables land either.

Signed-off-by: James Antill <james@and.org>
This commit is contained in:
James Antill 2025-02-24 10:49:38 -05:00 committed by kevin
parent 31d65aa439
commit b322316be5

View file

@ -18,7 +18,9 @@ test $? -eq 0 || exit $?
NEWIDENTITYIPS=`echo "$RESOLVEQUERY" | grep link | sed -E 's/.* ([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+).*/\1/g' | sort -n`
# Empty the filter: We do this at the end for a small window.`
nft flush set global osbuildapi
# NOTE: We aren't flushing old entries anymore.
# See commit: e7b50aaee469fdded0ea650c7e7f4dd06e929609
# nft flush set global osbuildapi
# Add the IPs...
for j in $NEWIPS