From de661ccec7b75f196dff5cd2546a94a4fbf46c82 Mon Sep 17 00:00:00 2001 From: Patrik Flykt Date: Thu, 4 Jan 2018 15:11:57 +0200 Subject: 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. --- src/libsystemd-network/sd-radv.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/libsystemd-network/sd-radv.c') 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; -- cgit v1.2.3