aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/sql/sql_logger.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2013-06-18 16:55:03 +0200
committerTobias Brunner <tobias@strongswan.org>2013-06-21 17:03:22 +0200
commitaa33d2e6eb2f7508d0650132e481758d6372825e (patch)
treefbc3eff07e178e540f35fffa5e441ec99b119106 /src/libcharon/plugins/sql/sql_logger.c
parent23ea59a95cfa13686c78399029202167639fa307 (diff)
downloadstrongswan-aa33d2e6eb2f7508d0650132e481758d6372825e.tar.bz2
strongswan-aa33d2e6eb2f7508d0650132e481758d6372825e.tar.xz
kernel-pfroute: struct sockaddr arguments are 4 byte aligned
This was noticed on Mac OS X where, if the default route is returned, RTA_NETMASK has sa_len set to 0, but skipping zero bytes to read the next address makes no sense, of course. Using 0 for sa_len seems a bit strange, in particular, because struct sockaddr has by definition a minimum length of 16 bytes. But it seems FreeBSD actually does the same.
Diffstat (limited to 'src/libcharon/plugins/sql/sql_logger.c')
0 files changed, 0 insertions, 0 deletions