fixed pf rdr, using ip w/o mask

This commit is contained in:
Thomas von Dein
2021-07-06 20:25:19 +02:00
parent 4d910f6d95
commit 426306457a

2
jaildk
View File

@@ -384,7 +384,7 @@ rc_pf() {
elif test -z "${mport}"; then
mport=${port}
fi
pf_map "$extif" "${proto}" "${eip}" "${port}" "${mport}" "${ip}" "${allowfrom}" >> $ruleset
pf_map "$extif" "${proto}" "${eip}" "${port}" "${mport}" "${ipv4}" "${allowfrom}" >> $ruleset
done
fi
done