projects
/
pve-firewall.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix: #2123 Logging of user defined firewall rules
[pve-firewall.git]
/
src
/
PVE
/
API2
/
Firewall
/
Rules.pm
diff --git
a/src/PVE/API2/Firewall/Rules.pm
b/src/PVE/API2/Firewall/Rules.pm
index 16709868f2be56329f77d204d7815dbbe60389b5..f0bc562a9037cf7057c919355659b1f7c55cecd1 100644
(file)
--- a/
src/PVE/API2/Firewall/Rules.pm
+++ b/
src/PVE/API2/Firewall/Rules.pm
@@
-141,6
+141,9
@@
sub register_get_rule {
type => 'integer',
optional => 1,
},
+ log => PVE::Firewall::get_standard_option('pve-fw-loglevel', {
+ description => 'Log level for firewall rule',
+ }),
iface => {
type => 'string',
optional => 1,