Summary: | Add replacedefaultroute option in ppp | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ludovic Gasc (GMLudo) <gmludo> |
Component: | New packages | Assignee: | Gentoo Dialup Developers <net-dialup> |
Status: | RESOLVED INVALID | ||
Severity: | enhancement | ||
Priority: | High | ||
Version: | 2008.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | the patch from SUSE |
Description
Ludovic Gasc (GMLudo)
2008-06-15 21:19:28 UTC
Created attachment 156993 [details, diff]
the patch from SUSE
This should really go through upstream... This replacedefaultroute is really a misfeature from my POV because you will be left without a default route when pppd will be killed by the user with kill -9 (possibly with other signals as well, I didn't looked at their patch). We (or at least I) like a different approach to this problem. Instead of blindly replacing the default route, I let users choose the metric of the default route created by pppd (see defaultmetric option in pppd man page). This way you could adapt your setup to whatever needs you have, all you need to do is set the right metric on the right route. Anyway, did you looked at the current pppd version in our tree? Do you really expect us to add such an old (and probably rejected by upstream) patch to our source tree? :) Closed as INVALID. Okay, thanks you very much for this information. I'm not a PPP developer, I only want a solution for my problem. I had found only this patch to resolve this. Your solution is okay for me. |