Re: [systemd-devel] [PATCH] libsystemd-network: Don't unnecessarily send too long packets

2014-03-20 Thread Patrik Flykt
On Wed, 2014-03-19 at 14:38 +0200, Patrik Flykt wrote: > Since the length used by options is known, send packets with no > extra padding. Applied this patch too. Cheers, Patrik ___ systemd-devel mailing list systemd-devel@lists.freedesktop.or

[systemd-devel] [PATCH] libsystemd-network: Don't unnecessarily send too long packets

2014-03-19 Thread Patrik Flykt
Since the length used by options is known, send packets with no extra padding. --- Hi, Discovered that the full buffer was sent out even though the length of all options would indicate a shorter one. Shave off extra padding from the packets by properly setting the buffer length. Cheers,