From b880df9ac467c6be1f14c94f97418e6848a5c9e5 Mon Sep 17 00:00:00 2001 From: Francois-Xavier Le Bail Date: Fri, 8 Nov 2019 16:59:41 +0100 Subject: Cleaning spaces [skip ci] --- pcap-linux.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pcap-linux.c') diff --git a/pcap-linux.c b/pcap-linux.c index 0d3ba2ab..928c08c5 100644 --- a/pcap-linux.c +++ b/pcap-linux.c @@ -3451,9 +3451,9 @@ set_dlt_list_cooked(pcap_t *handle, int sock_fd) len = sizeof(tp_reserve); if (getsockopt(sock_fd, SOL_PACKET, PACKET_RESERVE, &tp_reserve, &len) == 0) { - /* - * Yes, we can do DLL_LINUX_SLL2. - */ + /* + * Yes, we can do DLL_LINUX_SLL2. + */ handle->dlt_list = (u_int *) malloc(sizeof(u_int) * 2); /* * If that fails, just leave the list empty. @@ -3661,7 +3661,7 @@ activate_sock(pcap_t *handle, int is_any_device) if ((err = iface_bind(sock_fd, handlep->ifindex, handle->errbuf, pcap_protocol(handle))) != 0) { - close(sock_fd); + close(sock_fd); return err; } } else { -- cgit v1.2.3