gatchat: Removed unused GAtPPP field

This commit is contained in:
Slava Monich 2017-10-26 20:42:56 +03:00 committed by Denis Kenzior
parent aff02b297c
commit 43c2bfdc52
1 changed files with 0 additions and 3 deletions

View File

@ -40,7 +40,6 @@
#include "crc-ccitt.h" #include "crc-ccitt.h"
#include "ppp.h" #include "ppp.h"
#define DEFAULT_MRU 1500
#define DEFAULT_MTU 1500 #define DEFAULT_MTU 1500
#define PPP_ADDR_FIELD 0xff #define PPP_ADDR_FIELD 0xff
@ -66,7 +65,6 @@ struct _GAtPPP {
struct ppp_chap *chap; struct ppp_chap *chap;
struct ppp_pap *pap; struct ppp_pap *pap;
GAtHDLC *hdlc; GAtHDLC *hdlc;
gint mru;
gint mtu; gint mtu;
char username[256]; char username[256];
char password[256]; char password[256];
@ -830,7 +828,6 @@ static GAtPPP *ppp_init_common(gboolean is_server, guint32 ip)
ppp->fd = -1; ppp->fd = -1;
/* set options to defaults */ /* set options to defaults */
ppp->mru = DEFAULT_MRU;
ppp->mtu = DEFAULT_MTU; ppp->mtu = DEFAULT_MTU;
/* initialize the lcp state */ /* initialize the lcp state */