mirror of
https://github.com/ntop/n2n.git
synced 2024-09-19 16:41:11 +02:00
commit
68cb96eb01
4
Makefile
4
Makefile
|
@ -4,7 +4,7 @@ N2N_OSNAME=$(shell uname -p)
|
|||
|
||||
########
|
||||
|
||||
CC=gcc
|
||||
CC?=gcc
|
||||
DEBUG?=-g3
|
||||
#OPTIMIZATION?=-O2
|
||||
WARN?=-Wall -Wshadow -Wpointer-arith -Wmissing-declarations -Wnested-externs
|
||||
|
@ -141,4 +141,4 @@ push:
|
|||
fi
|
||||
|
||||
.PHONY: steps build push
|
||||
# End Docker builder section
|
||||
# End Docker builder section
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
#ifdef __FreeBSD__
|
||||
|
||||
void tun_close(tuntap_dev *device);
|
||||
void tuntap_close(tuntap_dev *device);
|
||||
|
||||
/* ********************************** */
|
||||
|
||||
|
@ -78,7 +78,7 @@ int tuntap_open(tuntap_dev *device /* ignored */,
|
|||
|
||||
fd = popen(buf, "r");
|
||||
if(fd < 0) {
|
||||
tun_close(device);
|
||||
tuntap_close(device);
|
||||
return(-1);
|
||||
} else {
|
||||
int a, b, c, d, e, f;
|
||||
|
|
Loading…
Reference in New Issue
Block a user