diff options
author | Antonio Quartulli <antonio@meshcoding.com> | 2014-01-21 11:22:05 +0100 |
---|---|---|
committer | Antonio Quartulli <antonio@meshcoding.com> | 2014-02-17 17:17:00 +0100 |
commit | 930cd6e46eadce8b8ed2a232ee536e5fd286c152 (patch) | |
tree | 57aeaea9f7bd587f1cb6d56f088d0a262e47c180 /virt | |
parent | 0fd5d57ba3456c4d0b77d1ae64be4818b47d7545 (diff) |
batman-adv: fix soft-interface MTU computation
The current MTU computation always returns a value
smaller than 1500bytes even if the real interfaces
have an MTU large enough to compensate the batman-adv
overhead.
Fix the computation by properly returning the highest
admitted value.
Introduced by a19d3d85e1b854e4a483a55d740a42458085560d
("batman-adv: limit local translation table max size")
Reported-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions