Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 318062 Details for
Bug 426398
net-dialup/pptpclient - stability fixes
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix warnings about nested external declarations
pptpclient-1.7.2-nested-externs.patch (text/plain), 780 bytes, created by
Dirk Olmes
on 2012-07-13 06:19:27 UTC
(
hide
)
Description:
fix warnings about nested external declarations
Filename:
MIME Type:
Creator:
Dirk Olmes
Created:
2012-07-13 06:19:27 UTC
Size:
780 bytes
patch
obsolete
>diff -up pptp-1.7.2/pptp_gre.c.nested pptp-1.7.2/pptp_gre.c >--- pptp-1.7.2/pptp_gre.c.nested 2011-12-06 16:45:34.605691678 +0000 >+++ pptp-1.7.2/pptp_gre.c 2011-12-06 19:07:14.169449813 +0000 >@@ -23,6 +23,10 @@ > #include "pqueue.h" > #include "test.h" > >+/* globals from pptp.c */ >+extern struct in_addr localbind; >+extern int rtmark; >+ > #define PACKET_MAX 8196 > /* test for a 32 bit counter overflow */ > #define WRAPPED( curseq, lastseq) \ >@@ -82,7 +86,6 @@ uint64_t time_now_usecs(void) > int pptp_gre_bind(struct in_addr inetaddr) > { > struct sockaddr_in src_addr, loc_addr; >- extern struct in_addr localbind; > int s = socket(AF_INET, SOCK_RAW, PPTP_PROTO); > if (s < 0) { warn("socket: %s", strerror(errno)); return -1; } > if (localbind.s_addr != INADDR_NONE) {
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 426398
:
318054
|
318056
|
318058
|
318060
| 318062 |
318064
|
318066
|
318068