File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ source $HESTIA/conf/hestia.conf
4141# ----------------------------------------------------------#
4242
4343check_args ' 2' " $# " ' IP NETMASK [INTERFACE] [USER] [STATUS] [NAME] [NATED_IP]'
44- is_format_valid ' ip' ' netmask' ' interface ' ' user' ' ip_status'
44+ is_format_valid ' ip' ' netmask' ' iface ' ' user' ' ip_status'
4545is_ip_free
4646is_object_valid ' user' ' USER' " $user "
4747is_object_unsuspended ' user' ' USER' " $user "
Original file line number Diff line number Diff line change @@ -963,6 +963,7 @@ is_format_valid() {
963963 hour) is_cron_format_valid " $arg " $arg_name ;;
964964 id) is_int_format_valid " $arg " ' id' ;;
965965 interface) is_interface_format_valid " $arg " ;;
966+ iface) is_interface_format_valid " $arg " ;;
966967 ip) is_ip_format_valid " $arg " ;;
967968 ip_name) is_domain_format_valid " $arg " ' IP name' ;;
968969 ip_status) is_ip_status_format_valid " $arg " ;;
You can’t perform that action at this time.
0 commit comments