Use $ipnat_program instead of the hardcoded path, which was wron
anyways. Approved by: markm (mentor) (implicit) Submitted by: leafy <leafy@leafy.idv.tw>
This commit is contained in:
parent
c5774e2d30
commit
20350cadb9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=113978
@ -59,7 +59,7 @@ ipnat_start()
|
||||
return 0
|
||||
fi
|
||||
echo -n "Installing NAT rules ... "
|
||||
/usr/sbin/ipnat -CF -f ${ipnat_rules} ${ipnat_flags}
|
||||
${ipnat_program} -CF -f ${ipnat_rules} ${ipnat_flags}
|
||||
}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
Loading…
Reference in New Issue
Block a user