projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c13f5d
)
debian: ovs-monitor-ipsec requires root_prefix option.
author
Ethan Jackson
<ethan@nicira.com>
Thu, 6 Oct 2011 01:07:04 +0000
(18:07 -0700)
committer
Ethan Jackson
<ethan@nicira.com>
Thu, 6 Oct 2011 01:07:04 +0000
(18:07 -0700)
Before this patch, if the root_prefix option is left unset
ovs-monitor-ipsec will crash.
debian/ovs-monitor-ipsec
patch
|
blob
|
history
diff --git
a/debian/ovs-monitor-ipsec
b/debian/ovs-monitor-ipsec
index 444b23417117f291ce5419535e5d943abc349e59..f7bdf1da0c02ce8628ea399f6440e6466312b213 100755
(executable)
--- a/
debian/ovs-monitor-ipsec
+++ b/
debian/ovs-monitor-ipsec
@@
-436,7
+436,8
@@
def main():
ovs.daemon.handle_args(args)
global root_prefix
- root_prefix = args.root_prefix
+ if args.root_prefix:
+ root_prefix = args.root_prefix
remote = args.database
schema_file = "%s/vswitch.ovsschema" % ovs.dirs.PKGDATADIR