]> git.ipfire.org Git - thirdparty/hostap.git/commit
BSD: Fix the maximum size of a route(4) msg to 2048
authorRoy Marples <roy@marples.name>
Wed, 29 Jan 2020 12:11:05 +0000 (12:11 +0000)
committerJouni Malinen <jouni@codeaurora.org>
Sun, 2 Feb 2020 19:47:03 +0000 (21:47 +0200)
commitb2b7f8dcfa3a31171505e84689ec57297384e698
treebe1f6f8f2079e931e0c2daa5abed870156abe89f
parent25c247684f2f179bf8501ef185749566c43b20b9
BSD: Fix the maximum size of a route(4) msg to 2048

The size of a single route(4) message cannot be derived from
either the size of the AF_INET or AF_INET6 routing tables.
Both could be empty or very large.

As such revert back to a buffer size of 2048 which mirrors
other programs which parse the routing socket.

Signed-off-by: Roy Marples <roy@marples.name>
src/drivers/driver_bsd.c