diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-03-23 14:47:16 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-03-23 14:47:16 +0100 |
commit | 70172ed2d29e5b11b468e94fc018ad339f253315 (patch) | |
tree | ba403fcc71d154d56891bd4501c195add3ac3127 /pingu.c | |
parent | 818db8e92e481f89b790dc93795ac208465aa142 (diff) | |
download | pingu-70172ed2d29e5b11b468e94fc018ad339f253315.tar.bz2 pingu-70172ed2d29e5b11b468e94fc018ad339f253315.tar.xz |
pingu_iface: del renewed gateways via broken ISPs
If we get a new default gateway for an interface
that is marked "down", remove the default gw again
from main table and let pingu detect that it went up
This solves the case when dhcp will renew a lease,
recreates the default gw and ISP is broke a bit
futher down the road.
Diffstat (limited to 'pingu.c')
0 files changed, 0 insertions, 0 deletions