Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

libnet_open_raw6() issue

From: Darren Bounds <libnet(at)intrusense.com>
Date: Thu Jun 19 2003 - 09:32:04 EDT

Hi guys,

I just noticed little problem with libnet_open_raw6() you guys are probably already aware of, but I haven't seen any mention of it yet.

#if !(__WIN32__)
#if (__svr4__)

     void *oneptr = &one;
#endif /* __svr4__ */
#else

   BOOL one;
#endif

First of all, this doesn't define 'one' for anything other than WIN32. Secondly oneptr isn't defined for anything other than svr4.

The following works nicely (using code taken from libnet_open_raw4()):

Do you need help?X

#if !(__WIN32__)

     int one= 1;
#if (__svr4__)

     void *oneptr = &one;
#else

     int *oneptr = &one;
#endif /* __svr4__ */
#else

   BOOL one;
#endif

Thanks,

-- 

Darren Bounds
Security Consultant
Information Security Services
Intrusense Inc.

--
Intrusense - Securing Business As Usual


On Wed, 2003-06-18 at 20:04, Mike Schiffman wrote:

> Getting closer and closer to a final release. This one has more
--------------------------------------------------------------------- To unsubscribe, e-mail: libnet-unsubscribe@securityfocus.com For additional commands, e-mail: libnet-help@securityfocus.com
Received on Thu Jun 19 13:13:59 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:24 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library