Module Name: src
Committed By: dyoung
Date: Wed Nov 17 00:20:50 UTC 2010
Modified Files:
src/sys/net: if_ethersubr.c
Log Message:
Cosmetic: fix indentation.
To generate a diff of this commit:
cvs rdiff -u -r1.183 -r1.184 src/sys/net/if_ethersubr.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/net/if_ethersubr.c
diff -u src/sys/net/if_ethersubr.c:1.183 src/sys/net/if_ethersubr.c:1.184
--- src/sys/net/if_ethersubr.c:1.183 Sun Jun 27 13:39:11 2010
+++ src/sys/net/if_ethersubr.c Wed Nov 17 00:20:49 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ethersubr.c,v 1.183 2010/06/27 13:39:11 kefren Exp $ */
+/* $NetBSD: if_ethersubr.c,v 1.184 2010/11/17 00:20:49 dyoung Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -61,7 +61,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ethersubr.c,v 1.183 2010/06/27 13:39:11 kefren Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ethersubr.c,v 1.184 2010/11/17 00:20:49 dyoung Exp $");
#include "opt_inet.h"
#include "opt_atalk.h"
@@ -454,13 +454,13 @@
}
#ifdef MPLS
- if (rt0 != NULL && rt_gettag(rt0) != NULL &&
- rt_gettag(rt0)->sa_family == AF_MPLS) {
- union mpls_shim msh;
- msh.s_addr = MPLS_GETSADDR(rt0);
- if (msh.shim.label != MPLS_LABEL_IMPLNULL)
- etype = htons(ETHERTYPE_MPLS);
- }
+ if (rt0 != NULL && rt_gettag(rt0) != NULL &&
+ rt_gettag(rt0)->sa_family == AF_MPLS) {
+ union mpls_shim msh;
+ msh.s_addr = MPLS_GETSADDR(rt0);
+ if (msh.shim.label != MPLS_LABEL_IMPLNULL)
+ etype = htons(ETHERTYPE_MPLS);
+ }
#endif
if (mcopy)