summaryrefslogtreecommitdiffstats
path: root/src/if-bsd.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2020-09-23 09:31:24 +0100
committerRoy Marples <roy@marples.name>2020-09-23 09:31:24 +0100
commit84bfc372fc5e1c23ffa8078db1d6a0c59a05bf00 (patch)
tree1a4a522afffb4ee5bcaf9f4bfe53afb0c90b6ed3 /src/if-bsd.c
parenta22b39d2b9636a47bd783da59a0b680f0baeacaf (diff)
downloaddhcpcd-84bfc372fc5e1c23ffa8078db1d6a0c59a05bf00.tar.xz
Add a warning about prior
Diffstat (limited to 'src/if-bsd.c')
-rw-r--r--src/if-bsd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/if-bsd.c b/src/if-bsd.c
index 403fbf48..97a69441 100644
--- a/src/if-bsd.c
+++ b/src/if-bsd.c
@@ -402,6 +402,7 @@ if_carrier(struct interface *ifp)
}
return LINK_UNKNOWN;
#else
+#warning no SIOCGIFDATA - not all interfaces support SIOCGIFMEDIA
return carrier;
#endif
}