--- embedaddon/libnet/src/libnet_build_hsrp.c 2013/07/22 11:54:42 1.1.1.1 +++ embedaddon/libnet/src/libnet_build_hsrp.c 2023/09/27 11:11:38 1.1.1.2 @@ -29,14 +29,7 @@ * */ -#if (HAVE_CONFIG_H) -#include "../include/config.h" -#endif -#if (!(_WIN32) || (__CYGWIN__)) -#include "../include/libnet.h" -#else -#include "../include/win32/libnet.h" -#endif +#include "common.h" libnet_ptag_t libnet_build_hsrp(uint8_t version, uint8_t opcode, uint8_t state, @@ -84,7 +77,7 @@ const uint8_t *payload, uint32_t payload_s, libnet_t * if (payload_s && !payload) { snprintf(l->err_buf, LIBNET_ERRBUF_SIZE, - "%s(): payload inconsistency\n", __func__); + "%s(): payload inconsistency", __func__); goto bad; } @@ -102,4 +95,10 @@ bad: libnet_pblock_delete(l, p); return (-1); } -/* EOF */ + +/** + * Local Variables: + * indent-tabs-mode: nil + * c-file-style: "stroustrup" + * End: + */