Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pppd: Fix IPv6 default route code for Solaris
Commit 388597e ("pppd: Add defaultroute6 and related options") added code to pppd/sys-solaris.c which only works on Linux. Solaris doesn't allow the use of the SICORT* family of ioctls for IPv6. They're legacy IPv4 only. Routing sockets are much more flexible than the ioctls. This rewrites the Solaris code to use a routing socket to set the default route. Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
- Loading branch information
1 parent
ca5e61b
commit a1e950a
Showing
1 changed file
with
39 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters