]> git.ipfire.org Git - thirdparty/strongswan.git/commit
dhcp: Add option to bind the receive socket to a different interface
authorTobias Brunner <tobias@strongswan.org>
Wed, 29 Jan 2025 16:23:31 +0000 (17:23 +0100)
committerTobias Brunner <tobias@strongswan.org>
Fri, 31 Jan 2025 10:20:42 +0000 (11:20 +0100)
commita50ed3006e8152eb2cf20e9f92f088ecc18081b0
treefe233bc4014ff9f118af8d4b774c7a8094d14bef
parent00d8c36d6fdf9e8ee99b9f92a64e7e81dbfa4432
dhcp: Add option to bind the receive socket to a different interface

This can be useful if the DHCP server runs on the same server. On Linux,
the response is then sent via `lo`, so packets won't be received if both
sockets are bound to e.g. a bridge interface.
conf/plugins/dhcp.opt
src/libcharon/plugins/dhcp/dhcp_socket.c