diff options
author | Sam Roberts <vieuxtech@gmail.com> | 2012-03-05 14:57:29 -0800 |
---|---|---|
committer | Sam Roberts <vieuxtech@gmail.com> | 2012-03-05 14:57:29 -0800 |
commit | d7f3c9626ad183c2d05733477193ea8ba87d1b78 (patch) | |
tree | f530352e4d9382140367a2e165b31f813b0683ac | |
parent | a19e21336408966fa2e7c77ae73d7abd0d9cd1d9 (diff) | |
download | libnet-d7f3c9626ad183c2d05733477193ea8ba87d1b78.tar.gz |
Reintroduce libnet_pblock_record_ip_offset() which is empty.
This is for backwards compatibility, so symbols don't get removed from
libnet. The function does nothing, the information it updated is no
longer stored in a pblock.
-rw-r--r-- | libnet/src/libnet_pblock.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libnet/src/libnet_pblock.c b/libnet/src/libnet_pblock.c index 3b86101..d051c94 100644 --- a/libnet/src/libnet_pblock.c +++ b/libnet/src/libnet_pblock.c @@ -612,3 +612,14 @@ libnet_pblock_p2p(uint8_t type) } } +void +libnet_pblock_record_ip_offset(libnet_t *l, libnet_pblock_t *p) +{ + (void) l; + (void) p; + /* For backwards compatibility, libnet_pblock_t no longer includes + an ip_offset, so calling this is unnecessary. + */ +} + + |