diff options
author | Justin Pettit <jpettit@nicira.com> | 2010-01-14 13:10:35 -0800 |
---|---|---|
committer | Justin Pettit <jpettit@nicira.com> | 2010-01-14 13:10:35 -0800 |
commit | f3d645212a60b4c0e99e66488ab8ef9fd1e8d8cb (patch) | |
tree | 1783bbeddeedb8256e74e654c48f77d472567b0a /vswitchd/ovs-brcompatd.c | |
parent | 5ff22a0642fb299140e7b3e62588be692386c0b8 (diff) |
ovsdb: Provide helper function to determine if IDL has ever connected
Diffstat (limited to 'vswitchd/ovs-brcompatd.c')
-rw-r--r-- | vswitchd/ovs-brcompatd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vswitchd/ovs-brcompatd.c b/vswitchd/ovs-brcompatd.c index 34162f3e..a45bee11 100644 --- a/vswitchd/ovs-brcompatd.c +++ b/vswitchd/ovs-brcompatd.c @@ -1190,7 +1190,7 @@ main(int argc, char *argv[]) ovs = ovsrec_open_vswitch_first(idl); brc_recv_update(ovs); - if (!ovs && ovsdb_idl_get_seqno(idl)) { + if (!ovs && ovsdb_idl_has_ever_connected(idl)) { static struct vlog_rate_limit rl = VLOG_RATE_LIMIT_INIT(1, 1); VLOG_WARN_RL(&rl, "%s: database does not contain any Open vSwitch " "configuration", remote); |