mirror of
https://github.com/ntop/n2n.git
synced 2024-09-20 00:51:10 +02:00
Fix a few leftover instances which used the old function name
This commit is contained in:
parent
79f2e526ef
commit
b2a1c4a9f4
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
#ifdef __FreeBSD__
|
#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");
|
fd = popen(buf, "r");
|
||||||
if(fd < 0) {
|
if(fd < 0) {
|
||||||
tun_close(device);
|
tuntap_close(device);
|
||||||
return(-1);
|
return(-1);
|
||||||
} else {
|
} else {
|
||||||
int a, b, c, d, e, f;
|
int a, b, c, d, e, f;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user