fatal-signal: After fork, clear hooks instead of disabling them.
[openvswitch] / lib / ovsdb-idl.c
index 635dcccb48ba1b2b2e28734210a8c231d43f9a85..a4407a57d44ace17f0a4ee199a5dab0eac73d01d 100644 (file)
@@ -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)
 {