Commit Diff
--- Shell.pm +++ Shell.pm @@ -32,6 +32,14 @@ my $pfconfpath = "/etc/pf.conf"; my $relaydconfpath = "/etc/relayd.conf"; my $startPort; my $endPort; + +use constant { + NONE => 0, + ERRORS => 1, + WARNINGS => 2, + ALL => 3, +}; + main::cbind("pub", "-", "shell", \&mshell); main::cbind("msg", "-", "shell", \&mshell);