"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/etc/rc.syshook.d/monitor/10-dpinger" between
opnsense-core-20.7.4.tar.gz and opnsense-core-20.7.5.tar.gz

About: OPNsense core system (GUI, API and systems backend) of the FreeBSD based firewall and routing platform.

10-dpinger  (opnsense-core-20.7.4):10-dpinger  (opnsense-core-20.7.5)
skipping to change at line 35 skipping to change at line 35
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE. # SUCH DAMAGE.
GATEWAY="${1}" GATEWAY="${1}"
if [ -z "${GATEWAY}" ]; then if [ -z "${GATEWAY}" ]; then
# require a gateway # require a gateway
exit 1 exit 1
fi fi
/usr/bin/logger -t dpinger "GATEWAY ALARM: ${GATEWAY} (Addr: ${2} Alarm: ${3} RT T: ${4}ms RTTd: ${5}ms Loss: ${6}%)" /usr/bin/logger -t dpinger "GATEWAY ALARM: ${GATEWAY} (Addr: ${2} Alarm: ${3} RT T: ${4}us RTTd: ${5}us Loss: ${6}%)"
echo -n "Reloading filter: " echo -n "Reloading filter: "
configctl filter reload gateway configctl filter reload gateway
exit 0 exit 0
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)