diff options
author | Tom Gundersen <teg@jklm.no> | 2015-11-16 16:46:14 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-11-16 19:14:22 +0100 |
commit | 63348d13fae61fefcb29133bfae8371b33cf4b6d (patch) | |
tree | ecd7647f18a465420cdb9c77a7cc79b3e5fe3db4 /src/libsystemd-network/sd-ndisc.c | |
parent | 5cd6491b71008334daa9965464e038dc3e39948a (diff) |
networkd: ndisc/dhcpv6 - handle starting running clients
The clients may be triggered to be started repeatedly without being stopped first,
simply swallow the error rather than failing the link.
Diffstat (limited to 'src/libsystemd-network/sd-ndisc.c')
-rw-r--r-- | src/libsystemd-network/sd-ndisc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-network/sd-ndisc.c b/src/libsystemd-network/sd-ndisc.c index 0881973e7f..6703d87bc4 100644 --- a/src/libsystemd-network/sd-ndisc.c +++ b/src/libsystemd-network/sd-ndisc.c @@ -628,7 +628,7 @@ int sd_ndisc_router_discovery_start(sd_ndisc *nd) { assert(nd->event); if (nd->state != NDISC_STATE_IDLE) - return -EINVAL; + return -EBUSY; if (nd->index < 1) return -EINVAL; |