mirror of
https://github.com/status-im/miniupnp.git
synced 2025-01-14 08:24:28 +00:00
fix bug introduced in d458f1a2223469e47081da
dev is also used in pfpinhole.c and should be global
This commit is contained in:
parent
67465c3cc0
commit
eaf23f0d10
@ -135,7 +135,8 @@ add_timestamp_entry(unsigned short eport, int proto, unsigned timestamp)
|
||||
}
|
||||
|
||||
/* /dev/pf when opened */
|
||||
static int dev = -1;
|
||||
extern int dev; /* global also used in pfpinhole.c */
|
||||
int dev = -1;
|
||||
|
||||
/* shutdown_redirect() :
|
||||
* close the /dev/pf device */
|
||||
|
Loading…
x
Reference in New Issue
Block a user