diff options
| author | Tobias Brunner <tobias@strongswan.org> | 2013-06-18 16:55:03 +0200 |
|---|---|---|
| committer | Tobias Brunner <tobias@strongswan.org> | 2013-06-21 17:03:22 +0200 |
| commit | aa33d2e6eb2f7508d0650132e481758d6372825e (patch) | |
| tree | fbc3eff07e178e540f35fffa5e441ec99b119106 /src/libcharon/plugins/sql | |
| parent | 23ea59a95cfa13686c78399029202167639fa307 (diff) | |
| download | strongswan-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')
0 files changed, 0 insertions, 0 deletions
