version 1.1.1.2, 2013/07/22 11:54:42
|
version 1.1.1.3, 2023/09/27 11:11:38
|
Line 28
|
Line 28
|
* |
* |
*/ |
*/ |
|
|
#if (HAVE_CONFIG_H) | #include "common.h" |
#include "../include/config.h" | |
#endif | |
#if (!(_WIN32) || (__CYGWIN__)) | |
#include "../include/libnet.h" | |
#else | |
#include "../include/win32/libnet.h" | |
#endif | |
|
|
/* |
/* |
* Overall packet |
* Overall packet |
Line 332 libnet_ptag_t ptag)
|
Line 325 libnet_ptag_t ptag)
|
|
|
if ((routing && !length) || (!routing && length)) |
if ((routing && !length) || (!routing && length)) |
{ |
{ |
sprintf(l->err_buf, "%s(): routing inconsistency\n", __func__); | snprintf(l->err_buf, LIBNET_ERRBUF_SIZE, |
| "%s(): routing inconsistency", __func__); |
goto bad; |
goto bad; |
} |
} |
|
|
Line 396 bad:
|
Line 390 bad:
|
return (-1); |
return (-1); |
|
|
} |
} |
/* EOF */ | |
| /** |
| * Local Variables: |
| * indent-tabs-mode: nil |
| * c-file-style: "stroustrup" |
| * End: |
| */ |