diff options
author | kpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-12-13 22:59:16 +0000 |
---|---|---|
committer | kpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-12-13 22:59:16 +0000 |
commit | 2a548d23113e133f3e7a8a75a91bc617f3d6cbcc (patch) | |
tree | 456a002516763b4a2bc33c4ded8d660b8c055bf3 /ppp | |
parent | 4ca212357e2cb5da6742bc76d347ce91bcdc89eb (diff) |
remove some code that is not compatible with modern versions of pppd
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3475 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'ppp')
-rw-r--r-- | ppp/zaptel.c | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/ppp/zaptel.c b/ppp/zaptel.c index f203765..d231794 100644 --- a/ppp/zaptel.c +++ b/ppp/zaptel.c @@ -44,56 +44,6 @@ const char pppd_version[] = VERSION; #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 @@ int setdevname_zaptel(const char *cp) the_channel = &zaptel_channel; - { - char **a; - for (a = bad_options; *a != NULL; a++) - remove_option(*a); - } modem = 0; lcp_allowoptions[0].neg_accompression = 0; |