The branch main has been updated by cy:

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

commit f04b23ce3547c238dcd52d4fa1a7d401ad38d1b1
Author:     Cy Schubert <[email protected]>
AuthorDate: 2025-12-09 20:32:24 +0000
Commit:     Cy Schubert <[email protected]>
CommitDate: 2025-12-09 20:33:26 +0000

    rc.d/{ipfilter,ippool}: Fix typo in variable name
    
    MFC after:      1 day
---
 libexec/rc/rc.d/ipfilter | 2 +-
 libexec/rc/rc.d/ippool   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libexec/rc/rc.d/ipfilter b/libexec/rc/rc.d/ipfilter
index 9b64fcff0c7a..1253294b09cf 100755
--- a/libexec/rc/rc.d/ipfilter
+++ b/libexec/rc/rc.d/ipfilter
@@ -33,7 +33,7 @@ required_modules="ipl:ipfilter"
 ipfilter_start()
 {
        echo "Enabling ipfilter."
-       if [ -n "${ifilter_optionlist}" ]; then
+       if [ -n "${ipfilter_optionlist}" ]; then
                if ${ipfilter_program:-/sbin/ipf} -V | grep -q 'Running: yes'; 
then
                        ${ipfilter_program:-/sbin/ipf} -D
                fi
diff --git a/libexec/rc/rc.d/ippool b/libexec/rc/rc.d/ippool
index 5ef0d0522621..f47a42267106 100755
--- a/libexec/rc/rc.d/ippool
+++ b/libexec/rc/rc.d/ippool
@@ -27,7 +27,7 @@ required_modules="ipl:ipfilter"
 ippool_start_precmd()
 {
        rc_flags="-f ${ippool_rules} ${rc_flags}"
-       if [ -n "${ifilter_optionlist}" ]; then
+       if [ -n "${ipfilter_optionlist}" ]; then
                ${ipfilter_program:-/sbin/ipf} -T "${ipfilter_optionlist}"
        fi
 }

Reply via email to