Skip to content

Commit e724349

Browse files
fix: Remove obsolete nfq_bind_pf() calls
1 parent 21238ce commit e724349

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

src/fakehttp.c

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -782,18 +782,6 @@ int main(int argc, char *argv[])
782782
goto close_socket;
783783
}
784784

785-
res = nfq_unbind_pf(h, AF_INET);
786-
if (res < 0) {
787-
E("ERROR: nfq_unbind_pf()");
788-
goto close_nfq;
789-
}
790-
791-
res = nfq_bind_pf(h, AF_INET);
792-
if (res < 0) {
793-
E("ERROR: nfq_bind_pf()");
794-
goto close_nfq;
795-
}
796-
797785
qh = nfq_create_queue(h, g_nfqnum, &callback, NULL);
798786
if (!qh) {
799787
E("ERROR: nfq_create_queue()");

0 commit comments

Comments
 (0)