Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Apr 2010 22:39:19 GMT
From:      Ana Kukec <anchie@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 177309 for review
Message-ID:  <201004242239.o3OMdJAf088232@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@177309?ac=10

Change 177309 by anchie@anchie_malimis on 2010/04/24 22:38:48

	Removing whitespaces.	

Affected files ...

.. //depot/projects/soc2009/anchie_send/src/sys/net/rtsock.c#27 edit
.. //depot/projects/soc2009/anchie_send/src/sys/netinet6/icmp6.c#36 edit

Differences ...

==== //depot/projects/soc2009/anchie_send/src/sys/net/rtsock.c#27 (text+ko) ====

@@ -498,13 +498,12 @@
 		info.rti_info[RTAX_DST] = NULL;
 		senderr(EINVAL);
 	}
-	info.rti_flags = rtm->rtm_flags;
+        info.rti_flags = rtm->rtm_flags;
 	if (info.rti_info[RTAX_DST] == NULL ||
-    	    info.rti_info[RTAX_DST]->sa_family >= AF_MAX ||
-    	    (info.rti_info[RTAX_GATEWAY] != NULL &&
-     	    info.rti_info[RTAX_GATEWAY]->sa_family >= AF_MAX))
-		senderr(EINVAL);
-
+		info.rti_info[RTAX_DST]->sa_family >= AF_MAX ||
+		(info.rti_info[RTAX_GATEWAY] != NULL &&
+		info.rti_info[RTAX_GATEWAY]->sa_family >= AF_MAX))
+			senderr(EINVAL);
 	/*
 	 * Verify that the caller has the appropriate privilege; RTM_GET
 	 * is the only operation the non-superuser is allowed.

==== //depot/projects/soc2009/anchie_send/src/sys/netinet6/icmp6.c#36 (text+ko) ====




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004242239.o3OMdJAf088232>