--- embedaddon/arping/src/findif_other.c 2014/06/15 16:26:43 1.1.1.2 +++ 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,6 +23,10 @@ #include #include +#if HAVE_LIBNET_H +#include +#endif + #include "arping.h" /** @@ -31,6 +35,8 @@ const char * arping_lookupdev(uint32_t srcip, uint32_t dstip, char *ebuf) { + snprintf(ebuf, LIBNET_ERRBUF_SIZE, + "arping_lookupdev() not implemented for this system."); return NULL; } /* ---- Emacs Variables ----