Source-Changes-HG archive

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

[src/trunk]: src/sys/net No functional change:



details:   https://anonhg.NetBSD.org/src/rev/c88284833934
branches:  trunk
changeset: 452093:c88284833934
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Tue Jun 18 07:50:43 2019 +0000

description:
No functional change:
- Fix typo (s/configureation/configuration/)
- KNF

diffstat:

 sys/net/if_gif.c |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r 7404d5f236d5 -r c88284833934 sys/net/if_gif.c
--- a/sys/net/if_gif.c  Tue Jun 18 02:23:29 2019 +0000
+++ b/sys/net/if_gif.c  Tue Jun 18 07:50:43 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_gif.c,v 1.146 2019/04/22 08:09:59 knakahara Exp $   */
+/*     $NetBSD: if_gif.c,v 1.147 2019/06/18 07:50:43 msaitoh Exp $     */
 /*     $KAME: if_gif.c,v 1.76 2001/08/20 02:01:02 kjc Exp $    */
 
 /*
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_gif.c,v 1.146 2019/04/22 08:09:59 knakahara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_gif.c,v 1.147 2019/06/18 07:50:43 msaitoh Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -169,7 +169,7 @@
                       CTL_NET, PF_INET, IPPROTO_IP, CTL_EOL);
 
        sysctl_createv(&gif_sysctl, 0, NULL, NULL,
-                      CTLFLAG_PERMANENT|CTLFLAG_READWRITE,
+                      CTLFLAG_PERMANENT | CTLFLAG_READWRITE,
                       CTLTYPE_INT, "gifttl",
                       SYSCTL_DESCR("Default TTL for a gif tunnel datagram"),
                       NULL, 0, &ip_gif_ttl, 0,
@@ -194,7 +194,7 @@
                       CTL_NET, PF_INET6, IPPROTO_IPV6, CTL_EOL);
 
        sysctl_createv(&gif_sysctl, 0, NULL, NULL,
-                      CTLFLAG_PERMANENT|CTLFLAG_READWRITE,
+                      CTLFLAG_PERMANENT | CTLFLAG_READWRITE,
                       CTLTYPE_INT, "gifhlim",
                       SYSCTL_DESCR("Default hop limit for a gif tunnel datagram"),
                       NULL, 0, &ip6_gif_hlim, 0,
@@ -473,7 +473,7 @@
        }
        /* XXX should we check if our outer source is legal? */
 
-       m->m_flags &= ~(M_BCAST|M_MCAST);
+       m->m_flags &= ~(M_BCAST | M_MCAST);
 
        /* use DLT_NULL encapsulation here to pass inner af type */
        M_PREPEND(m, sizeof(int), M_DONTWAIT);
@@ -1037,7 +1037,7 @@
                /* can't configure same pair of address onto two gifs */
                if (sockaddr_cmp(var2->gv_pdst, dst) == 0 &&
                    sockaddr_cmp(var2->gv_psrc, src) == 0) {
-                       /* continue to use the old configureation. */
+                       /* continue to use the old configuration. */
                        gif_putref_variant(var2, &psref);
                        mutex_exit(&gif_softcs.lock);
                        error =  EADDRNOTAVAIL;



Home | Main Index | Thread Index | Old Index