--- embedaddon/arping/src/findif_other.c 2012/02/21 22:16:27 1.1.1.1 +++ embedaddon/arping/src/findif_other.c 2016/10/18 13:16:10 1.1.1.3 @@ -1,16 +1,16 @@ /* arping/src/findif_other.c * - * Copyright (C) 2000-2009 Thomas Habets + * Copyright (C) 2000-2014 Thomas Habets * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. * - * This library is distributed in the hope that it will be useful, + * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., @@ -23,16 +23,25 @@ #include #include +#if HAVE_LIBNET_H +#include +#endif + #include "arping.h" /** * */ const char * -arping_lookupdev(const char *ifname, - uint32_t srcip, - uint32_t dstip, - char *ebuf) +arping_lookupdev(uint32_t srcip, uint32_t dstip, char *ebuf) { - return arping_lookupdev_default(ifname,srcip,dstip,ebuf); + snprintf(ebuf, LIBNET_ERRBUF_SIZE, + "arping_lookupdev() not implemented for this system."); + return NULL; } +/* ---- Emacs Variables ---- + * Local Variables: + * c-basic-offset: 8 + * indent-tabs-mode: nil + * End: + */