aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2006-12-01 18:18:35 +0000
committerWarner Losh <imp@FreeBSD.org>2006-12-01 18:18:35 +0000
commita0858e10ac9532dd6e2e307ade729dfe66819e2c (patch)
tree3e547c291012db61811540fb63be22688f9c5503 /sys
parentab96db105fcec681c172ba66be940c7305c36967 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/net/bridgestp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/bridgestp.h b/sys/net/bridgestp.h
index 9ebe354606db..845fc96750b2 100644
--- a/sys/net/bridgestp.h
+++ b/sys/net/bridgestp.h
@@ -217,7 +217,7 @@ struct bstp_cbpdu {
uint16_t cbu_hellotime; /* hello time */
uint16_t cbu_forwarddelay; /* forwarding delay */
uint8_t cbu_versionlen; /* version 1 length */
-} __attribute__((__packed__));
+} __packed__;
#define BSTP_BPDU_STP_LEN (3 + 35) /* LLC + STP pdu */
#define BSTP_BPDU_RSTP_LEN (3 + 36) /* LLC + RSTP pdu */
@@ -229,7 +229,7 @@ struct bstp_tbpdu {
uint16_t tbu_protoid; /* protocol id */
uint8_t tbu_protover; /* protocol version */
uint8_t tbu_bpdutype; /* message type */
-} __attribute__((__packed__));
+} __packed;
/*
* Timekeeping structure used in spanning tree code.