]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix build on systems without RTM_OLD*
authorBen Kaduk <kaduk@mit.edu>
Thu, 3 Jul 2014 14:42:21 +0000 (10:42 -0400)
committerTom Yu <tlyu@mit.edu>
Mon, 21 Jul 2014 22:20:46 +0000 (18:20 -0400)
commit37f87c189ff050c01282f3d8da7bc97fe8a9ea92
tree8e8302f80fc4b18ce4a5c5894d31ea9ec0b56e4c
parent70faf7db9d54ef464b220860d346c7d5f0ec83f3
Fix build on systems without RTM_OLD*

For example, FreeBSD has removed RTM_OLDADD and RTM_OLDDEL from its API
in March 2014, with the message:
Garbage collect long time obsoleted (or never used) stuff from routing API

Only attempt to define behavior for these cases if they are defined.

(cherry picked from commit fd352d41a79013114708e99510b6be3836200237)

ticket: 7955
version_fixed: 1.12.2
status: resolved
src/lib/apputils/net-server.c