diff options
Diffstat (limited to 'pfinet')
-rw-r--r-- | pfinet/ChangeLog | 5 | ||||
-rw-r--r-- | pfinet/options.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/pfinet/ChangeLog b/pfinet/ChangeLog index a26dfefb..a53877d9 100644 --- a/pfinet/ChangeLog +++ b/pfinet/ChangeLog @@ -1,3 +1,8 @@ +2001-01-03 Marcus Brinkmann <marcus@gnu.org> + + * options.c (parse_opt): Set err to 0 if it was ESRCH. + (or zero after anyway). + 2000-12-03 Marcus Brinkmann <marcus@gnu.org> * main.c (pfinet_demuxer): New variable PI. diff --git a/pfinet/options.c b/pfinet/options.c index 12a7a4c1..3de98c35 100644 --- a/pfinet/options.c +++ b/pfinet/options.c @@ -287,6 +287,7 @@ parse_opt (int opt, char *arg, struct argp_state *state) err = - (*tb->tb_delete) (tb, &req.rtm, &rta, &req.nlh, 0); if (err && err != ESRCH) FAIL (err, 17, 0, "cannot remove old default gateway"); + err = 0; } } else |