fix bug introduced in d458f1a2223469e47081da

dev is also used in  pfpinhole.c and should be global
This commit is contained in:
Thomas Bernard 2020-06-03 23:15:28 +02:00
parent 67465c3cc0
commit eaf23f0d10
No known key found for this signature in database
GPG Key ID: 0FF11B67A5C0863C

View File

@ -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 */