From f3b778a4dcfe49dbb294365e7f026674a91f9a32 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Fri, 16 May 2008 16:10:31 +0000 Subject: - fix bug where we incorrectly rejected ifconfig eth0 hw ether $whatever - add support for printing ipoib to ifconfig --- include/libbb.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/libbb.h') diff --git a/include/libbb.h b/include/libbb.h index 216b3eca3..6f41184a9 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -924,6 +924,9 @@ struct hwtype { }; extern smallint interface_opt_a; int display_interfaces(char *ifname); +#if ENABLE_FEATURE_HWIB +int in_ib(const char *bufp, struct sockaddr *sap); +#endif const struct aftype *get_aftype(const char *name); const struct hwtype *get_hwtype(const char *name); const struct hwtype *get_hwntype(int type); -- cgit v1.2.3