commit | 7e92322cfcc6c062acae3b550f90d36fe40763f1 | [log] [tgz] |
---|---|---|
author | David Lamparter <equinox@opensourcerouting.org> | Tue Mar 03 21:04:20 2015 +0100 |
committer | David Lamparter <equinox@opensourcerouting.org> | Tue Apr 21 10:18:25 2015 +0200 |
tree | c3269438b6cc435c481913fe4d3467c0df592200 | |
parent | 48ab06b43040bb27d267bb165eedf9e496eb865b [diff] |
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>