Skip to content

Commit

Permalink
fix typo (#1994)
Browse files Browse the repository at this point in the history
  • Loading branch information
shane965 committed Oct 28, 2022
1 parent dd3790a commit eaa936b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dist/images/vpcnatgateway/nat-gateway.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function init() {
}


function get-iptables-version() {
function get_iptables_version() {
exec_cmd "iptables --version"
}

Expand Down Expand Up @@ -297,7 +297,7 @@ case $opt in
;;
get-iptables-version)
echo "get-iptables-version $rules"
get-iptables-version $rules
get_iptables_version $rules
;;
*)
echo "Usage: $0 [init|subnet-route-add|subnet-route-del|eip-add|eip-del|floating-ip-add|floating-ip-del|dnat-add|dnat-del|snat-add|snat-del] ..."
Expand Down

0 comments on commit eaa936b

Please sign in to comment.