]> git.ipfire.org Git - thirdparty/hostap.git/commit
FILS: Fix fils_hlp.c build with older netinet/udp.h definitions
authorJouni Malinen <jouni@qca.qualcomm.com>
Sun, 26 Feb 2017 10:18:29 +0000 (12:18 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 26 Feb 2017 10:18:29 +0000 (12:18 +0200)
commit4c8836f13985f2e3cfe26398de86065f8bcb3be3
treec0c482be1c69061f18df978ca51039894ed8bdbc
parentc4bb39707fea93cee72d845007ceca800e653f00
FILS: Fix fils_hlp.c build with older netinet/udp.h definitions

The __FAVOR_BSD macro was previously used in netinet/udp.h to select
between two different names of the variables in struct udphdr. Define
that to force the versions with the uh_ prefix. In addition, use the
same style consistently within fils_hlp.c.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/ap/fils_hlp.c
src/common/dhcp.h