diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2015-03-03 21:04:20 +0100 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2015-04-21 10:18:25 +0200 |
commit | 7e92322cfcc6c062acae3b550f90d36fe40763f1 (patch) | |
tree | c3269438b6cc435c481913fe4d3467c0df592200 /pimd/pim_zebra.c | |
parent | 48ab06b43040bb27d267bb165eedf9e496eb865b (diff) | |
download | quagga-7e92322cfcc6c062acae3b550f90d36fe40763f1.tar.bz2 quagga-7e92322cfcc6c062acae3b550f90d36fe40763f1.tar.xz |
zebra: use SA_SIZE for RT_ROUNDUP on FreeBSD
FreeBSD provides SA_SIZE (and none of the other options to infer padded
size of a struct sockaddr). Just define SAROUNDUP to SA_SIZE if it is
available.
This also drops a superfluous-looking extra macro branch which would
require ROUNDUP. It seemed redundant to my eyes, but I have no idea
what odd things might have triggered addition of this in the first
place...
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'pimd/pim_zebra.c')
0 files changed, 0 insertions, 0 deletions