diff options
Diffstat (limited to 'epan/dissectors/packet-clip.c')
-rw-r--r-- | epan/dissectors/packet-clip.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/epan/dissectors/packet-clip.c b/epan/dissectors/packet-clip.c index 634ff224b0..50b0d53777 100644 --- a/epan/dissectors/packet-clip.c +++ b/epan/dissectors/packet-clip.c @@ -43,12 +43,6 @@ static expert_field ei_no_link_info = EI_INIT; static dissector_handle_t ip_handle; -static gboolean -capture_clip( const guchar *pd, int offset, int len, packet_counts *ld, const union wtap_pseudo_header *pseudo_header _U_ ) { - - return capture_ip(pd, offset, len, ld, pseudo_header); -} - static int dissect_clip(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_) { @@ -125,7 +119,7 @@ proto_reg_handoff_clip(void) /* XXX - no protocol, can't be disabled */ dissector_add_uint("wtap_encap", WTAP_ENCAP_LINUX_ATM_CLIP, clip_handle); - register_capture_dissector("wtap_encap", WTAP_ENCAP_LINUX_ATM_CLIP, capture_clip, proto_clip); + register_capture_dissector("wtap_encap", WTAP_ENCAP_LINUX_ATM_CLIP, capture_ip, proto_clip); } /* |