netlink: Add functions for handling nested attributes.
[openvswitch] / ovsdb / ovsdb-idlc.in
index c89048eeb291f15b84ed673866456d00f47d88b7..c01034882dbfe9a21833dd65b71a6d4cfd0ac033 100755 (executable)
@@ -378,7 +378,7 @@ void
 struct %(s)s *
 %(s)s_insert(struct ovsdb_idl_txn *txn)
 {
-    return %(s)s_cast(ovsdb_idl_txn_insert(txn, &%(p)stable_classes[%(P)sTABLE_%(T)s]));
+    return %(s)s_cast(ovsdb_idl_txn_insert(txn, &%(p)stable_classes[%(P)sTABLE_%(T)s], NULL));
 }
 ''' % {'s': structName,
        'p': prefix,