Diff for /embedaddon/libnet/src/libnet_build_gre.c between versions 1.1.1.2 and 1.1.1.3

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:
  */

Removed from v.1.1.1.2  
changed lines
  Added in v.1.1.1.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>