(plugin) apps::monitoring::ntopng::restapi - Fix interface option not consider if the value is quoted in the command line (#3763)
This commit is contained in:
parent
a690ad33ad
commit
be41798691
|
@ -120,7 +120,7 @@ sub new {
|
|||
$options{options}->add_options(arguments => {
|
||||
'filter-type:s' => { name => 'filter_type' },
|
||||
'filter-severity:s' => { name => 'filter_severity' },
|
||||
'interface:i' => { name => 'interface', default => 0 },
|
||||
'interface:s' => { name => 'interface', default => 0 },
|
||||
'period:s' => { name => 'period', default => 'last-5mns' }
|
||||
});
|
||||
|
||||
|
|
|
@ -97,7 +97,7 @@ sub new {
|
|||
bless $self, $class;
|
||||
|
||||
$options{options}->add_options(arguments => {
|
||||
'interface:i' => { name => 'interface', default => 0 },
|
||||
'interface:s' => { name => 'interface', default => 0 },
|
||||
'ip:s' => { name => 'ip' }
|
||||
});
|
||||
|
||||
|
|
|
@ -120,7 +120,7 @@ sub new {
|
|||
bless $self, $class;
|
||||
|
||||
$options{options}->add_options(arguments => {
|
||||
'interface:i' => { name => 'interface', default => 0 }
|
||||
'interface:s' => { name => 'interface', default => 0 }
|
||||
});
|
||||
|
||||
return $self;
|
||||
|
|
|
@ -75,7 +75,7 @@ sub new {
|
|||
bless $self, $class;
|
||||
|
||||
$options{options}->add_options(arguments => {
|
||||
'interface:i' => { name => 'interface', default => 0 }
|
||||
'interface:s' => { name => 'interface', default => 0 }
|
||||
});
|
||||
|
||||
return $self;
|
||||
|
|
Loading…
Reference in New Issue