Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/net Cosmetic: fix indentation.



details:   https://anonhg.NetBSD.org/src/rev/3d1a16c6b1a1
branches:  trunk
changeset: 758828:3d1a16c6b1a1
user:      dyoung <dyoung%NetBSD.org@localhost>
date:      Wed Nov 17 00:20:49 2010 +0000

description:
Cosmetic: fix indentation.

diffstat:

 sys/net/if_ethersubr.c |  18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diffs (39 lines):

diff -r f6c0d7deaae6 -r 3d1a16c6b1a1 sys/net/if_ethersubr.c
--- a/sys/net/if_ethersubr.c    Tue Nov 16 23:59:02 2010 +0000
+++ b/sys/net/if_ethersubr.c    Wed Nov 17 00:20:49 2010 +0000
@@ -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)



Home | Main Index | Thread Index | Old Index