Diff for /embedaddon/libnet/sample/cdp.c between versions 1.1.1.2 and 1.1.1.3

version 1.1.1.2, 2013/07/22 11:54:41 version 1.1.1.3, 2023/09/27 11:11:38
Line 35 Line 35
  */   */
   
 #if (HAVE_CONFIG_H)  #if (HAVE_CONFIG_H)
 #if ((_WIN32) && !(__CYGWIN__))   
 #include "../include/win32/config.h"  
 #else  
 #include "../include/config.h"  #include "../include/config.h"
 #endif  #endif
 #endif  
 #include "./libnet_test.h"  #include "./libnet_test.h"
   
   
Line 86  main(int argc, char *argv[]) Line 82  main(int argc, char *argv[])
     index += 5;      index += 5;
   
     /* this TLV is handled by the libnet builder */      /* this TLV is handled by the libnet builder */
    value = argv[2];    value = (u_char *)argv[2];
     len = strlen(argv[2]);      len = strlen(argv[2]);
   
     /* build CDP header */      /* build CDP header */
Line 157  bad: Line 153  bad:
     return (EXIT_FAILURE);      return (EXIT_FAILURE);
 }  }
   
 /* EOF */  

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


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