From 6384b39f1873fc6c90c12e27edbeff0752559ce9 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Wed, 25 May 2011 22:07:58 +0200 Subject: [PATCH] Remove unused and broken htp code. --- src/app-layer-htp.c | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/app-layer-htp.c b/src/app-layer-htp.c index 87430efff7..24f25c8b92 100644 --- a/src/app-layer-htp.c +++ b/src/app-layer-htp.c @@ -275,23 +275,6 @@ void AppLayerHtpEnableRequestBodyCallback(void) } -/** - * \brief Function to convert the IP addresses in to the string - * - * \param f pointer to the flow which contains the IP addresses - * \param remote_addr pointer the string which will contain the remote address - * \param local_addr pointer the string which will contain the local address - */ -void HTPGetIPAddr(Flow *f, int family, char *remote_addr, char *local_addr) -{ - SCEnter(); - inet_ntop(family, (const void *)&f->src.addr_data32[0], remote_addr, - sizeof (remote_addr)); - inet_ntop(family, (const void *)&f->dst.addr_data32[0], local_addr, - sizeof (local_addr)); - SCReturn; -} - /** * \brief Function to handle the reassembled data from client and feed it to * the HTP library to process it.