Add missing zone hook command "port_create"
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 27 Dec 2014 13:56:47 +0000 (13:56 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 27 Dec 2014 13:56:47 +0000 (13:56 +0000)
src/functions/functions.hook

index 4accfc9..a48a86d 100644 (file)
@@ -248,7 +248,7 @@ function hook_valid_command_zone() {
                        ;;
 
                # Ports
-               port_add|port_edit|port_remove|port_show|port_status|port_up|port_down)
+               port_add|port_edit|port_create|port_remove|port_show|port_status|port_up|port_down)
                        return ${EXIT_TRUE}
                        ;;