summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-02-26 14:30:21 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-02-26 14:30:21 -0800
commitbb112bcc0d1dc16afeb999c3c56ddf7fc30cd124 (patch)
tree54c23d6ff61e69d094454cfd4e7d1f58bccbc0c7
parent56eb4982e61a5385431e1eb1da8d9f072f4c98e0 (diff)
downloadvyatta-cfg-quagga-bb112bcc0d1dc16afeb999c3c56ddf7fc30cd124.tar.gz
vyatta-cfg-quagga-bb112bcc0d1dc16afeb999c3c56ddf7fc30cd124.zip
Add more options to show-protocols
Useful hooks for changed, modified, exists, etc...
-rwxr-xr-xscripts/vyatta-show-protocols4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/vyatta-show-protocols b/scripts/vyatta-show-protocols
index 4f3e0a92..0d349b45 100755
--- a/scripts/vyatta-show-protocols
+++ b/scripts/vyatta-show-protocols
@@ -25,10 +25,12 @@ use warnings;
# Map from command line to config->XXX() function
my %actions = (
- 'configured' => 'exists',
+ 'configured' => 'existsOrig',
+ 'exists' => 'exists',
'added' => 'isAdded',
'changed' => 'isChanged',
'deleted' => 'isDeleted',
+ 'modified' => 'isChangedOrDeleted',
);
my %daemons = (