Skip to content

Commit

Permalink
tap_linux: Shim tap_portfwd()
Browse files Browse the repository at this point in the history
  • Loading branch information
LekKit authored Mar 3, 2024
1 parent 998bb35 commit cddbecd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/devices/tap_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cddbecd

Please sign in to comment.