mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-11 09:50:12 +00:00
libpcap: replace comma with semicolon when pertinent.
Uses of commas instead of a semicolons can easily go undetected. The comma can serve as a statement separator but this shouldn't be abused when statements are meant to be standalone. Detected with devel/coccinelle following a hint from DragonFlyBSD. MFC after: 1 month
This commit is contained in:
parent
a061aa46fe
commit
e49b19c64b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=303893
@ -240,7 +240,7 @@ pcap_netmap_activate(pcap_t *p)
|
||||
p->linktype = DLT_EN10MB;
|
||||
p->selectable_fd = p->fd;
|
||||
p->read_op = pcap_netmap_dispatch;
|
||||
p->inject_op = pcap_netmap_inject,
|
||||
p->inject_op = pcap_netmap_inject;
|
||||
p->setfilter_op = install_bpf_program;
|
||||
p->setdirection_op = NULL;
|
||||
p->set_datalink_op = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user