[svn-commits] kpfleming: branch 1.2 r3475 - /branches/1.2/ppp/zaptel.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Thu Dec 13 16:59:16 CST 2007
Author: kpfleming
Date: Thu Dec 13 16:59:16 2007
New Revision: 3475
URL: http://svn.digium.com/view/zaptel?view=rev&rev=3475
Log:
remove some code that is not compatible with modern versions of pppd
Modified:
branches/1.2/ppp/zaptel.c
Modified: branches/1.2/ppp/zaptel.c
URL: http://svn.digium.com/view/zaptel/branches/1.2/ppp/zaptel.c?view=diff&rev=3475&r1=3474&r2=3475
==============================================================================
--- branches/1.2/ppp/zaptel.c (original)
+++ branches/1.2/ppp/zaptel.c Thu Dec 13 16:59:16 2007
@@ -44,56 +44,6 @@
#define ZAP_MTU (ZT_DEFAULT_MTU_MRU - 16)
extern int kill_link;
-static char *bad_options[] = {
- "noaccomp",
- "-ac",
- "default-asyncmap",
- "-am",
- "asyncmap",
- "-as",
- "escape",
- "multilink",
- "receive-all",
- "crtscts",
- "-crtscts",
- "nocrtscts",
- "cdtrcts",
- "nocdtrcts",
- "xonxoff",
- "modem",
- "local",
- "sync",
- "deflate",
- "nodeflate",
- "vj",
- "novj",
- "nobsdcomp",
- "bsdcomp",
- "-bsdcomp",
- NULL
-};
-#if 0
-static char *bad_options[] = {
- "noaccomp",
- "-ac",
- "default-asyncmap",
- "-am",
- "asyncmap",
- "-as",
- "escape",
- "receive-all",
- "crtscts",
- "-crtscts",
- "nocrtscts",
- "cdtrcts",
- "nocdtrcts",
- "xonxoff",
- "modem",
- "local",
- "sync",
- NULL
-};
-#endif
int retries = 0;
int setdevname_zaptel(const char *cp);
@@ -283,11 +233,6 @@
the_channel = &zaptel_channel;
- {
- char **a;
- for (a = bad_options; *a != NULL; a++)
- remove_option(*a);
- }
modem = 0;
lcp_allowoptions[0].neg_accompression = 0;
More information about the svn-commits
mailing list