[ovs-dev] [PATCH] debian: ovs-monitor-ipsec requires root_prefix option.

Ethan Jackson ethan at nicira.com
Thu Oct 6 01:11:33 UTC 2011


Before this patch, if the root_prefix option is left unset
ovs-monitor-ipsec will crash.
---

I found this issue while testing ovs-monitor-ipsec on squeeze.  According to my
testing, this is the last ovs-monitor-ipsec issue, and my series should be
ready to merge.

---
 debian/ovs-monitor-ipsec |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/debian/ovs-monitor-ipsec b/debian/ovs-monitor-ipsec
index 444b234..f7bdf1d 100755
--- 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
-- 
1.7.6.1




More information about the dev mailing list