From d7f3c9626ad183c2d05733477193ea8ba87d1b78 Mon Sep 17 00:00:00 2001 From: Sam Roberts Date: Mon, 5 Mar 2012 14:57:29 -0800 Subject: 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. --- libnet/src/libnet_pblock.c | 11 +++++++++++ 1 file changed, 11 insertions(+) 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. + */ +} + + -- cgit v1.2.1