diff options
author | Sam Roberts <vieuxtech@gmail.com> | 2012-03-29 14:06:25 -0700 |
---|---|---|
committer | Sam Roberts <vieuxtech@gmail.com> | 2012-03-29 14:06:25 -0700 |
commit | 4a55e370f267bf2e7924b80cc57f24e3c3da0a28 (patch) | |
tree | 84e0b69f212dbf8a02561d04c279760ea26187f4 | |
parent | 0255d84ccafc2de3fe082af73e73cd5544ad0750 (diff) | |
download | libnet-4a55e370f267bf2e7924b80cc57f24e3c3da0a28.tar.gz |
Note about why including libnet.h breaks dnet.h/dumbnet.h
-rw-r--r-- | libnet/include/libnet/libnet-headers.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libnet/include/libnet/libnet-headers.h b/libnet/include/libnet/libnet-headers.h index 3ecbd18..ebc778e 100644 --- a/libnet/include/libnet/libnet-headers.h +++ b/libnet/include/libnet/libnet-headers.h @@ -1095,6 +1095,11 @@ struct libnet_icmpv4_hdr uint16_t seq;/* ICMP sequence number */ } echo; + /* TODO this hack conflicts with the system headers, which is why we + * undef what they do, and it also damages dnet/dumbnet's headers if + * they are included after ours. Fixing will break API, though, so + * we leave it for now. + */ #undef icmp_id #undef icmp_seq #define icmp_id hun.echo.id |