aboutsummaryrefslogtreecommitdiff
path: root/pcap-linux.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2019-11-08 16:59:41 +0100
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2019-11-08 16:59:41 +0100
commitb880df9ac467c6be1f14c94f97418e6848a5c9e5 (patch)
tree676546a4de4194d0f898cffe3fd3cd1db8769ac9 /pcap-linux.c
parentf1d640602594a00a507e217defef41b55feb7acb (diff)
Cleaning spaces
[skip ci]
Diffstat (limited to 'pcap-linux.c')
-rw-r--r--pcap-linux.c8
1 files changed, 4 insertions, 4 deletions
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 {