diff options
| author | Roy Marples <roy@marples.name> | 2012-03-27 17:59:41 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2012-03-27 17:59:41 +0000 |
| commit | 2e055cabc5ebb9495d1d01a78a14207c575c7914 (patch) | |
| tree | d628e321a99abdc1198bd2db43ab35e71ca213ee | |
| parent | 6b2a61c05356c9a8d68d0085a905debafc792cdd (diff) | |
| download | dhcpcd-2e055cabc5ebb9495d1d01a78a14207c575c7914.tar.xz | |
Don't corrupt our route table when we fail to add a route for any reason.
| -rw-r--r-- | configure.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.c b/configure.c index e61184be..cd1d8c54 100644 --- a/configure.c +++ b/configure.c @@ -730,6 +730,7 @@ build_routes(void) lrt->next = rtn; rt->next = nrs; nrs = rt; + rt = lrt; /* When we loop this makes lrt correct */ } free_routes(dnr); } |
