summaryrefslogtreecommitdiffstats
path: root/sys/net/if_atm.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/if_atm.h')
-rw-r--r--sys/net/if_atm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_atm.h b/sys/net/if_atm.h
index cafe5a7..f09f7a6 100644
--- a/sys/net/if_atm.h
+++ b/sys/net/if_atm.h
@@ -93,8 +93,8 @@ struct atmllc {
/* ATM_LLC macros: note type code in host byte order */
#define ATM_LLC_TYPE(X) (((X)->type[0] << 8) | ((X)->type[1]))
#define ATM_LLC_SETTYPE(X,V) { \
- (X)->type[1] = ((V) >> 8) & 0xff; \
- (X)->type[0] = ((V) & 0xff); \
+ (X)->type[0] = ((V) >> 8) & 0xff; \
+ (X)->type[1] = ((V) & 0xff); \
}
#ifdef _KERNEL
OpenPOWER on IntegriCloud