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
case RTM_NEWADDR:
case RTM_DELADDR:
case RTM_IFINFO:
+#ifdef RTM_OLDADD
case RTM_OLDADD:
+#endif
+#ifdef RTM_OLDDEL
case RTM_OLDDEL:
+#endif
/*
* Some flags indicate routing table updates that don't
* indicate local address changes. They may come from