From 2a548d23113e133f3e7a8a75a91bc617f3d6cbcc Mon Sep 17 00:00:00 2001 From: kpfleming Date: Thu, 13 Dec 2007 22:59:16 +0000 Subject: 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 --- ppp/zaptel.c | 55 ------------------------------------------------------- 1 file changed, 55 deletions(-) (limited to 'ppp') 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; -- cgit v1.2.3