From: Martin Schwenke Date: Mon, 8 Aug 2022 01:29:36 +0000 (+1000) Subject: ctdb-common: Move a misplaced comment X-Git-Tag: talloc-2.4.0~819 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c522f4f6045b48bffe47a12a246f356e71fbeec0;p=thirdparty%2Fsamba.git ctdb-common: Move a misplaced comment Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs --- diff --git a/ctdb/common/system_socket.c b/ctdb/common/system_socket.c index bb513508353..13e346a8866 100644 --- a/ctdb/common/system_socket.c +++ b/ctdb/common/system_socket.c @@ -747,13 +747,6 @@ int ctdb_sys_send_tcp(const ctdb_sock_addr *dest, return 0; } -/* - * Packet capture - * - * If AF_PACKET is available then use a raw socket otherwise use pcap. - * wscript has checked to make sure that pcap is available if needed. - */ - static int tcp4_extract(const uint8_t *ip_pkt, size_t pktlen, struct sockaddr_in *src, @@ -864,6 +857,12 @@ static int tcp6_extract(const uint8_t *ip_pkt, return 0; } +/* + * Packet capture + * + * If AF_PACKET is available then use a raw socket otherwise use pcap. + * wscript has checked to make sure that pcap is available if needed. + */ #ifdef HAVE_AF_PACKET