diff options
Diffstat (limited to 'utilities')
-rwxr-xr-x | utilities/ovs-tcpdump.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utilities/ovs-tcpdump.in b/utilities/ovs-tcpdump.in index b3dc65440..7fd26e405 100755 --- a/utilities/ovs-tcpdump.in +++ b/utilities/ovs-tcpdump.in @@ -406,7 +406,8 @@ def py_which(executable): def main(): - db_sock = 'unix:@RUNDIR@/db.sock' + rundir = os.environ.get('OVS_RUNDIR', '@RUNDIR@') + db_sock = 'unix:%s' % os.path.join(rundir, "db.sock") interface = None tcpdargs = [] |