summaryrefslogtreecommitdiffhomepage
path: root/main.c
diff options
context:
space:
mode:
authorKristian Evensen <kristian.evensen at gmail.com>2014-12-08 18:42:21 +0100
committerSteven Barth <steven@midlink.org>2014-12-08 18:42:21 +0100
commit19c53807d9dc62782d03c5564630ed1bcb953cd8 (patch)
tree9981463385117d2ebabc5b127cd8a34972b77dd9 /main.c
parent7c5d82806c11886bcc08821584fe51790a593feb (diff)
Enable callers to pass the source IP of an IPv4 route when using
proto_add_ipv4_route(). This is useful with for example DHCP in a multihomed scenario, as it provides an easy way to match default routes with the correct IP address. One use case for this are applications that monitor the state of the WAN port, and the WAN port is assigned multiple addresses. Signed-off-by: Kristian Evensen <kristian.evensen at gmail.com>
Diffstat (limited to 'main.c')
0 files changed, 0 insertions, 0 deletions