diff options
author | Patrik Flykt <patrik.flykt@linux.intel.com> | 2018-01-04 14:11:57 +0100 |
---|---|---|
committer | Patrik Flykt <patrik.flykt@linux.intel.com> | 2018-01-04 14:22:44 +0100 |
commit | de661ccec7b75f196dff5cd2546a94a4fbf46c82 (patch) | |
tree | 913cf7dedaa77d295bb2adac25ef2a7c4981fb03 | |
parent | radv: Add function to remove prefixes (diff) | |
download | systemd-de661ccec7b75f196dff5cd2546a94a4fbf46c82.tar.xz systemd-de661ccec7b75f196dff5cd2546a94a4fbf46c82.zip |
radv: Allow setting MTU in all cases
Setting MTU is allowed in all cases and the MTU value will be
announced in the subsequent Router Advertisements.
-rw-r--r-- | src/libsystemd-network/sd-radv.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libsystemd-network/sd-radv.c b/src/libsystemd-network/sd-radv.c index b2483bcf2b..757eabaea7 100644 --- a/src/libsystemd-network/sd-radv.c +++ b/src/libsystemd-network/sd-radv.c @@ -464,9 +464,6 @@ _public_ int sd_radv_set_mtu(sd_radv *ra, uint32_t mtu) { assert_return(ra, -EINVAL); assert_return(mtu >= 1280, -EINVAL); - if (ra->state != SD_RADV_STATE_IDLE) - return -EBUSY; - ra->mtu = mtu; return 0; |