mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 13:54:28 -07:00
refactoring: log_event(), is_format_valid()
This commit is contained in:
parent
325ca65f32
commit
a61a6e979e
52 changed files with 582 additions and 1170 deletions
|
@ -26,10 +26,8 @@ source $VESTA/conf/vesta.conf
|
|||
|
||||
check_args '2' "$#" 'IP NAT_IP [RESTART]'
|
||||
is_format_valid 'ip'
|
||||
if [ ! -z "$nat_ip" ]; then
|
||||
is_format_valid 'nat_ip'
|
||||
fi
|
||||
is_ip_valid
|
||||
is_format_valid 'nat_ip'
|
||||
is_ip_valid "$ip"
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue