Remove the compatibility macro if_addrlist.
Since if_addrlist is used only for ipfilter(4), add a macro if_addrlist in ip_compat.h. Reviewed by: cy Differential Revision: https://reviews.freebsd.org/D8059
This commit is contained in:
parent
a53b5f81c2
commit
decb239dff
@ -175,6 +175,7 @@ struct ether_addr {
|
||||
} while (0)
|
||||
# include <net/if_var.h>
|
||||
# define GETKTIME(x) microtime((struct timeval *)x)
|
||||
# define if_addrlist if_addrhead
|
||||
|
||||
# include <netinet/in_systm.h>
|
||||
# include <netinet/ip.h>
|
||||
|
@ -313,7 +313,6 @@ struct ifnet {
|
||||
};
|
||||
|
||||
/* for compatibility with other BSDs */
|
||||
#define if_addrlist if_addrhead
|
||||
#define if_list if_link
|
||||
#define if_name(ifp) ((ifp)->if_xname)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user