summaryrefslogtreecommitdiffstats
path: root/gatchat/ppp_cp.h
diff options
context:
space:
mode:
Diffstat (limited to 'gatchat/ppp_cp.h')
-rw-r--r--gatchat/ppp_cp.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/gatchat/ppp_cp.h b/gatchat/ppp_cp.h
index ee7ac8db..89394e9c 100644
--- a/gatchat/ppp_cp.h
+++ b/gatchat/ppp_cp.h
@@ -54,19 +54,6 @@ enum pppcp_event_type {
RXR,
};
-enum pppcp_state {
- INITIAL,
- STARTING,
- CLOSED,
- STOPPED,
- CLOSING,
- STOPPING,
- REQSENT,
- ACKRCVD,
- ACKSENT,
- OPENED,
-};
-
/* option format */
struct ppp_option {
guint8 type;
@@ -107,7 +94,7 @@ struct pppcp_timer_data {
};
struct pppcp_data {
- enum pppcp_state state;
+ unsigned char state;
struct pppcp_timer_data config_timer_data;
struct pppcp_timer_data terminate_timer_data;
guint max_failure;