summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gatchat/gatppp.c3
-rw-r--r--gatchat/ppp.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/gatchat/gatppp.c b/gatchat/gatppp.c
index d2c3d5a9..82d1eca5 100644
--- a/gatchat/gatppp.c
+++ b/gatchat/gatppp.c
@@ -43,6 +43,9 @@
#define DEFAULT_MRU 1500
#define DEFAULT_MTU 1500
+#define PPP_ADDR_FIELD 0xff
+#define PPP_CTRL 0x03
+
enum ppp_phase {
PPP_PHASE_DEAD = 0, /* Link dead */
PPP_PHASE_ESTABLISHMENT, /* LCP started */
diff --git a/gatchat/ppp.h b/gatchat/ppp.h
index e8724961..7f6c950a 100644
--- a/gatchat/ppp.h
+++ b/gatchat/ppp.h
@@ -26,8 +26,6 @@
#define IPCP_PROTO 0x8021
#define PPP_IP_PROTO 0x0021
#define MD5 5
-#define PPP_ADDR_FIELD 0xff
-#define PPP_CTRL 0x03
struct ppp_chap;
struct ppp_net;