PERFORCE change 177306 for review
Ana Kukec
anchie at FreeBSD.org
Sat Apr 24 21:35:10 UTC 2010
http://p4web.freebsd.org/@@177306?ac=10
Change 177306 by anchie at 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.
More information about the p4-projects
mailing list