Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 132172 Details for
Bug 194198
net-dialup/ppp auth-fail enhancement
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ppp-2.4.4-auth_not_possible.patch
ppp-2.4.4-auth_not_possible.patch (text/plain), 1.51 KB, created by
Jaco Kroon
on 2007-09-29 14:03:21 UTC
(
hide
)
Description:
ppp-2.4.4-auth_not_possible.patch
Filename:
MIME Type:
Creator:
Jaco Kroon
Created:
2007-09-29 14:03:21 UTC
Size:
1.51 KB
patch
obsolete
>diff -rau ppp-2.4.4.orig/pppd/auth.c ppp-2.4.4/pppd/auth.c >--- ppp-2.4.4.orig/pppd/auth.c 2007-09-29 14:56:43.000000000 +0200 >+++ ppp-2.4.4/pppd/auth.c 2007-09-29 15:19:43.000000000 +0200 >@@ -260,7 +260,7 @@ > struct wordlist **, struct wordlist **, > char *, int)); > static void free_wordlist __P((struct wordlist *)); >-static void auth_script __P((char *, int)); >+void auth_script __P((char *, int)); > static void auth_script_done __P((void *)); > static void set_allowed_addrs __P((int, struct wordlist *, struct wordlist *)); > static int some_ip_ok __P((struct wordlist *)); >@@ -2542,7 +2542,7 @@ > * auth_script - execute a script with arguments > * interface-name peer-name real-user tty speed > */ >-static void >+void > auth_script(script, wait) > char *script; > int wait; >diff -rau ppp-2.4.4.orig/pppd/lcp.c ppp-2.4.4/pppd/lcp.c >--- ppp-2.4.4.orig/pppd/lcp.c 2006-05-22 02:04:07.000000000 +0200 >+++ ppp-2.4.4/pppd/lcp.c 2007-09-29 15:21:50.000000000 +0200 >@@ -55,6 +55,7 @@ > #include "lcp.h" > #include "chap-new.h" > #include "magic.h" >+#include "pathnames.h" > > static const char rcsid[] = RCSID; > >@@ -84,6 +85,8 @@ > void *)); > #endif /* HAVE_MULTILINK */ > >+void auth_script __P((char *, int)); >+ > static option_t lcp_option_list[] = { > /* LCP options */ > { "-all", o_special_noarg, (void *)noopt, >@@ -1594,6 +1597,7 @@ > * Reject the option if we're not willing to authenticate. > */ > dbglog("No auth is possible"); >+ auth_script(_PATH_AUTHFAIL, 1); > orc = CONFREJ; > break; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 194198
: 132172