diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-06-19 17:03:24 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-06-19 17:03:24 +0000 |
commit | e4a51ea47c36387179b04cdeeea3a57d5f2e0072 (patch) | |
tree | a44347c0cfedce98ee1f16906d3391c4d86b2d48 /package/ppp/patches/107-debian_pppatm_cleanup.patch | |
parent | fea5404e8a8b3d0190c8386f190b723477acebd4 (diff) | |
download | master-187ad058-e4a51ea47c36387179b04cdeeea3a57d5f2e0072.tar.gz master-187ad058-e4a51ea47c36387179b04cdeeea3a57d5f2e0072.tar.bz2 master-187ad058-e4a51ea47c36387179b04cdeeea3a57d5f2e0072.zip |
[package] ppp: annotate most patches with description and S-o-b
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32463 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ppp/patches/107-debian_pppatm_cleanup.patch')
-rw-r--r-- | package/ppp/patches/107-debian_pppatm_cleanup.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/package/ppp/patches/107-debian_pppatm_cleanup.patch b/package/ppp/patches/107-debian_pppatm_cleanup.patch deleted file mode 100644 index a3d80a8880..0000000000 --- a/package/ppp/patches/107-debian_pppatm_cleanup.patch +++ /dev/null @@ -1,32 +0,0 @@ ---- a/pppd/plugins/pppoatm/pppoatm.c -+++ b/pppd/plugins/pppoatm/pppoatm.c -@@ -75,13 +75,14 @@ static int setdevname_pppoatm(const char - //info("PPPoATM setdevname_pppoatm: '%s'", cp); - memset(&addr, 0, sizeof addr); - if (text2atm(cp, (struct sockaddr *) &addr, sizeof(addr), -- T2A_PVC | T2A_NAME) < 0) { -- if(doit) -- info("atm does not recognize: %s", cp); -+ T2A_PVC | T2A_NAME | T2A_WILDCARD) < 0) { -+ if (doit) -+ info("cannot parse the ATM address: %s", cp); - return 0; -- } -- if (!doit) return 1; -- //if (!dev_set_ok()) return -1; -+ } -+ if (!doit) -+ return 1; -+ - memcpy(&pvcaddr, &addr, sizeof pvcaddr); - strlcpy(devnam, cp, sizeof devnam); - devstat.st_mode = S_IFSOCK; -@@ -170,7 +171,7 @@ static void disconnect_pppoatm(void) - - void plugin_init(void) - { --#if defined(__linux__) -+#ifdef linux - extern int new_style_driver; /* From sys-linux.c */ - if (!ppp_available() && !new_style_driver) - fatal("Kernel doesn't support ppp_generic - " |