From cddbecdba0ed4a7e849716f330f29973756faca5 Mon Sep 17 00:00:00 2001 From: LekKit <50500857+LekKit@users.noreply.github.com> Date: Sun, 3 Mar 2024 13:47:09 +0200 Subject: [PATCH] tap_linux: Shim tap_portfwd() --- src/devices/tap_linux.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/devices/tap_linux.c b/src/devices/tap_linux.c index ee092ec52..6cd4c9633 100644 --- a/src/devices/tap_linux.c +++ b/src/devices/tap_linux.c @@ -164,6 +164,12 @@ bool tap_set_mac(tap_dev_t* tap, const uint8_t mac[6]) return ioctl(tap->fd, SIOCSIFHWADDR, &ifr) >= 0; } +bool tap_portfwd(tap_dev_t* tap, const char* fwd) +{ + UNUSED(tap); UNUSED(fwd); + return false; +} + void tap_close(tap_dev_t* tap) { // Shut down the TAP thread