projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vconn: Make errors in vconn names non-fatal errors.
[openvswitch]
/
lib
/
vconn-netlink.c
diff --git
a/lib/vconn-netlink.c
b/lib/vconn-netlink.c
index 6e7e152e69eb94a8038444a6cfa8f6dfd24bdff1..84d7d3548196ae1fc87f62e58da939ae64bc9c80 100644
(file)
--- a/
lib/vconn-netlink.c
+++ b/
lib/vconn-netlink.c
@@
-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);