diff options
| author | Roy Marples <roy@marples.name> | 2015-01-20 20:56:13 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2015-01-20 20:56:13 +0000 |
| commit | 6635ae0d32910efbdf67510967f19ba8a4f79467 (patch) | |
| tree | abce327c19979ca07a3354269d86dbc43699d461 /if-bsd.c | |
| parent | 515dd1616f86bca80f760736989a5b280f6b4651 (diff) | |
| download | dhcpcd-6635ae0d32910efbdf67510967f19ba8a4f79467.tar.xz | |
Fix warning on FreeBSD where we don't need to use sysctlbyname(3).
Diffstat (limited to 'if-bsd.c')
| -rw-r--r-- | if-bsd.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1087,7 +1087,9 @@ inet6_sysctl(int code, int val, int action) return -1; return val; } +#endif +#ifndef IPV6CTL_TEMPVLTIME #define get_inet6_sysctlbyname(code) inet6_sysctlbyname(code, 0, 0) #define set_inet6_sysctlbyname(code, val) inet6_sysctlbyname(code, val, 1) static int |
