summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/netmpls/mpls_shim.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netmpls/mpls_shim.c b/sys/netmpls/mpls_shim.c
index 9d4cc6f2b86..be8e888d140 100644
--- a/sys/netmpls/mpls_shim.c
+++ b/sys/netmpls/mpls_shim.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpls_shim.c,v 1.2 2008/04/23 11:22:23 norby Exp $ */
+/* $OpenBSD: mpls_shim.c,v 1.3 2008/05/02 12:37:08 claudio Exp $ */
/*
* Copyright (C) 1999, 2000 and 2001 AYAME Project, WIDE Project.
@@ -80,7 +80,6 @@ mpls_shim_swap(struct mbuf *m, struct sockaddr_mpls *smplsp)
t = smplsp->smpls_out_exp << MPLS_EXP_OFFSET;
shim->shim_label |= htonl(t) & MPLS_EXP_MASK;
}
- shim->shim_label = htonl(shim->shim_label);
return (m);
}