mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
ovsdb: Provide helper function to determine if IDL has ever connected
This commit is contained in:
@@ -291,6 +291,12 @@ ovsdb_idl_get_seqno(const struct ovsdb_idl *idl)
|
||||
return idl->change_seqno;
|
||||
}
|
||||
|
||||
bool
|
||||
ovsdb_idl_has_ever_connected(const struct ovsdb_idl *idl)
|
||||
{
|
||||
return ovsdb_idl_get_seqno(idl) != 0;
|
||||
}
|
||||
|
||||
void
|
||||
ovsdb_idl_force_reconnect(struct ovsdb_idl *idl)
|
||||
{
|
||||
|
Reference in New Issue
Block a user