sgw: program best egress link route
authorFerry Huberts <ferry.huberts@pelagic.nl>
Fri, 31 Oct 2014 12:05:42 +0000 (13:05 +0100)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Wed, 12 Nov 2014 10:45:25 +0000 (11:45 +0100)
commit40f0aa38d976596362038856feae05157edb03d5
tree9c39307d0fcd00fdfd33b44129a39295adfc63fd
parent259d9873005f8a5883c9317a1c671efc18f12487
sgw: program best egress link route

This is a default route in the routing table corresponding to the
best egress link. If there is no such link, then a blackhole route
is programmed to prevent accidental looping of sgw tunnel traffic.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
src/gateway.c