Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Apr 2010 21:35:10 GMT
From:      Ana Kukec <anchie@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 177306 for review
Message-ID:  <201004242135.o3OLZAlL082628@repoman.freebsd.org>

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

Change 177306 by anchie@anchie_malimis on 2010/04/24 21:34:09

	Trying to get rid of all possible noise in net/rtsock.c.	

Affected files ...

.. //depot/projects/soc2009/anchie_send/src/sys/net/rtsock.c#26 edit

Differences ...

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

@@ -1,4 +1,4 @@
-/*- 
+/*-
  * Copyright (c) 1988, 1991, 1993
  *	The Regents of the University of California.  All rights reserved.
  *
@@ -500,11 +500,11 @@
 	}
 	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)) {
+    	    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.



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