1
0
mirror of https://github.com/markqvist/tncattach.git synced 2025-06-28 22:45:20 -04:00
- Cleaned up
This commit is contained in:
Tristan Brice Velloza Kildaire 2024-12-15 18:15:15 +02:00
parent 6c83aa468b
commit 6635336405

4
TAP.c

@ -97,9 +97,7 @@ int open_tap(void) {
int inet = socket(AF_INET, SOCK_DGRAM, 0);
if (inet == -1) {
char err[100];
sprintf(err, "Could not open %s socket", set_ipv4 ? "AF_INET" : "AF_INET6");
perror(err);
perror("Could not open control socket");
cleanup();
exit(1);
} else {