Skip to content

Commit

Permalink
ovn: Fix bug in ovn-ctl argument order
Browse files Browse the repository at this point in the history
Commit 31491a5 got the port and
address order backwards.  Restore it to keep ovsdb-server happy.

Fixes: 31491a5 ("ovn-ctl: Rationalize arguments.")
Signed-off-by: RYAN D. MOATS <[email protected]>
Signed-off-by: Russell Bryant <[email protected]>
  • Loading branch information
jayhawk87 authored and russellb committed Apr 1, 2016
1 parent 448b200 commit 8a568f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ovn/utilities/ovn-ctl
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ start_ovsdb () {

set ovsdb-server

set "$@" --detach $OVN_NB_LOG --log-file=$OVN_NB_LOGFILE --remote=punix:$DB_NB_SOCK --remote=ptcp:$DB_NB_ADDR:$DB_NB_PORT --pidfile=$DB_NB_PID --unixctl=ovnnb_db.ctl
set "$@" --detach $OVN_NB_LOG --log-file=$OVN_NB_LOGFILE --remote=punix:$DB_NB_SOCK --remote=ptcp:$DB_NB_PORT:$DB_NB_ADDR --pidfile=$DB_NB_PID --unixctl=ovnnb_db.ctl

$@ $DB_NB_FILE
fi
Expand All @@ -63,7 +63,7 @@ start_ovsdb () {

set ovsdb-server

set "$@" --detach $OVN_SB_LOG --log-file=$OVN_SB_LOGFILE --remote=punix:$DB_SB_SOCK --remote=ptcp:$DB_SB_ADDR:$DB_SB_PORT --pidfile=$DB_SB_PID --unixctl=ovnsb_db.ctl
set "$@" --detach $OVN_SB_LOG --log-file=$OVN_SB_LOGFILE --remote=punix:$DB_SB_SOCK --remote=ptcp:$DB_SB_PORT:$DB_SB_ADDR --pidfile=$DB_SB_PID --unixctl=ovnsb_db.ctl
$@ $DB_SB_FILE
fi
}
Expand Down

0 comments on commit 8a568f7

Please sign in to comment.