summaryrefslogtreecommitdiff
path: root/interface-definitions/include
diff options
context:
space:
mode:
authorAntonio Quartulli <antonio@mandelbit.com>2026-09-10 16:56:21 +0200
committerAntonio Quartulli <antonio@mandelbit.com>2026-09-15 10:05:28 +0200
commitb8f6de86d9350fecfb4a58e48ac6414d8784690d (patch)
treedca234b674a70971d41d327167951d8677fade26 /interface-definitions/include
parent4c4704fd6a01b92e32e6f74244163051452e2e5a (diff)
downloadvyos-1x-b8f6de86d9350fecfb4a58e48ac6414d8784690d.tar.gz
vyos-1x-b8f6de86d9350fecfb4a58e48ac6414d8784690d.zip
smoketest: T8264: cover adopting a pre-created DCO interface
assertDcoDataPath() checks the link kind, the operating mode and that the daemon is up, and none of those change when the offload carries nothing. A client whose server is not up yet never opens its tun, so VyOS creates the "ovpn" device for it and OpenVPN has to adopt that device once the server appears. Get the adoption wrong and the daemon takes the device but not its ifindex: dco_new_peer() fails, the daemon exits and deletes the interface on its way out, systemd starts it again and the second attempt creates a device of its own. The tunnel comes up either way, so the state it ends in proves nothing - the restart it cost does. Ask the Kernel for its peers as well, which is the one thing no amount of userspace bookkeeping can fake.
Diffstat (limited to 'interface-definitions/include')
0 files changed, 0 insertions, 0 deletions