Skip to content

Commit

Permalink
test: remove unused packet-filter mock
Browse files Browse the repository at this point in the history
this is done in order to increase test coverage
  • Loading branch information
alfredh committed Dec 7, 2024
1 parent f255a79 commit 3e5a864
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 117 deletions.
1 change: 0 additions & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ set(SRCS
mem.c
mock/dnssrv.c
mock/nat.c
mock/pf.c
mock/sipsrv.c
mock/stunsrv.c
mock/tcpsrv.c
Expand Down
107 changes: 0 additions & 107 deletions test/mock/pf.c

This file was deleted.

9 changes: 0 additions & 9 deletions test/test.h
Original file line number Diff line number Diff line change
Expand Up @@ -408,15 +408,6 @@ const char *test_datapath(void);
*/


struct pf {
struct udp_helper *uh;
struct udp_sock *us;
char name[16];
};

int pf_create(struct pf **pfp, struct udp_sock *us, const char *name);


struct stunserver {
struct udp_sock *us;
struct tcp_sock *ts;
Expand Down

0 comments on commit 3e5a864

Please sign in to comment.