summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichele Marchetto <michele@cvs.openbsd.org>2009-01-29 11:11:34 +0000
committerMichele Marchetto <michele@cvs.openbsd.org>2009-01-29 11:11:34 +0000
commita48c33ef421c3ca459f07e905c50642f8ea9250f (patch)
tree2f05248cdaee421536dcf97dccc29d94eac14825
parent28237c4d180524b7e51c9532754e08f44a95dc07 (diff)
mpls_operation have to be 2 bytes long to store
operations correctly ok claudio@ laurent@
-rw-r--r--sys/netmpls/mpls.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netmpls/mpls.h b/sys/netmpls/mpls.h
index df287182ee5..a3c16e718a2 100644
--- a/sys/netmpls/mpls.h
+++ b/sys/netmpls/mpls.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpls.h,v 1.17 2009/01/28 22:18:44 michele Exp $ */
+/* $OpenBSD: mpls.h,v 1.18 2009/01/29 11:11:33 michele Exp $ */
/*
* Copyright (C) 1999, 2000 and 2001 AYAME Project, WIDE Project.
@@ -96,7 +96,7 @@ struct sockaddr_mpls {
struct rt_mpls {
u_int32_t mpls_label;
- u_int8_t mpls_operation;
+ u_int16_t mpls_operation;
u_int8_t mpls_exp;
};