diff options
Diffstat (limited to 'util/tap')
-rw-r--r-- | util/tap/tap.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/tap/tap.cc b/util/tap/tap.cc index 0d94f0b17..9c13051ca 100644 --- a/util/tap/tap.cc +++ b/util/tap/tap.cc @@ -207,7 +207,7 @@ main(int argc, char *argv[]) program = basename(argv[0]); - while((c = getopt(argc, argv, "b:df:lp:v")) != -1) { + while ((c = getopt(argc, argv, "b:df:lp:v")) != -1) { switch (c) { case 'b': bufsize = atoi(optarg); @@ -405,7 +405,7 @@ main(int argc, char *argv[]) delete [] buffer; pcap_close(pcap); eth_close(ethernet); - if(listen_pfd) + if (listen_pfd) close(listen_pfd->fd); if (client_pfd) |