- Add log type support,
- Add NETWORK_LOG_TRACE config variable.
This commit is contained in:
@@ -47,15 +47,15 @@ line="[${Dev}]: Local_MTU: [${Local_MTU}] Remote_MTU: [${Remote_MTU}] Local_
|
||||
|
||||
if [[ "${dst_table}" != "" ]]
|
||||
then
|
||||
log_print "VPN-Down" "$line" " Status: [OK]"
|
||||
log_info "VPN-Down" "$line" " Status: [OK]"
|
||||
|
||||
remote_address=0.0.0.0
|
||||
|
||||
log_print "VPN-Down" "[${Dev}]: set ${remote_address} to vpn${id}.vpn.rx3"
|
||||
log_trace "VPN-Down" "[${Dev}]: set ${remote_address} to vpn${id}.vpn.rx3"
|
||||
|
||||
${DEBUG} ip_host_update vpn${id} vpn.rx3 ${remote_address} 60
|
||||
else
|
||||
log_print "VPN-Down" "$line" " Status: [ERROR]!"
|
||||
log_error "VPN-Down" "$line" " Status: [ERROR]!"
|
||||
fi
|
||||
|
||||
log_print "VPN-Down" "[${Dev}]: Done!"
|
||||
log_trace "VPN-Down" "[${Dev}]: Done!"
|
||||
|
||||
Reference in New Issue
Block a user