vconn: Make errors in vconn names non-fatal errors.
[openvswitch] / lib / vconn-netlink.c
index 6e7e152e69eb94a8038444a6cfa8f6dfd24bdff1..84d7d3548196ae1fc87f62e58da939ae64bc9c80 100644 (file)
@@ -77,7 +77,8 @@ netlink_open(const char *name, char *suffix, struct vconn **vconnp)
 
     subscribe = 1;
     if (sscanf(suffix, "%d:%d", &dp_idx, &subscribe) < 1) {
-        fatal(0, "%s: syntax error", name);
+        error(0, "%s: syntax error", name);
+        return EAFNOSUPPORT;
     }
 
     netlink = xmalloc(sizeof *netlink);