summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/slcompress.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ppp/slcompress.h')
-rw-r--r--usr.sbin/ppp/slcompress.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/usr.sbin/ppp/slcompress.h b/usr.sbin/ppp/slcompress.h
index 223f659..85aee74 100644
--- a/usr.sbin/ppp/slcompress.h
+++ b/usr.sbin/ppp/slcompress.h
@@ -102,15 +102,9 @@ struct cstate {
u_short cs_hlen; /* size of hdr (receive only) */
u_char cs_id; /* connection # associated with this state */
u_char cs_filler;
- union {
- char csu_hdr[MAX_HDR];
- struct ip csu_ip; /* ip/tcp hdr from most recent packet */
- } slcs_u;
+ struct ip cs_ip; /* ip/tcp hdr from most recent packet */
};
-#define cs_ip slcs_u.csu_ip
-#define cs_hdr slcs_u.csu_hdr
-
/*
* all the state data for one serial line (we need one of these
* per line).
OpenPOWER on IntegriCloud