Skip to content

Commit

Permalink
Add check for bind-dev in DCO options
Browse files Browse the repository at this point in the history
  • Loading branch information
BCurrell committed Feb 16, 2025
1 parent 43abb41 commit 588061e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/openvpn/dco.c
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,12 @@ dco_check_startup_option(int msglevel, const struct options *o)
}
}

if (o->bind_dev)
{
msg(msglevel, "Note: bind-dev not supported with DCO, disabling data channel offload");
return false;
}

#if defined(_WIN32)
if ((o->mode == MODE_SERVER) && !dco_win_supports_multipeer())
{
Expand Down

0 comments on commit 588061e

Please sign in to comment.