From 669d40c826d04319c98cf60ccd7f30537af7de22 Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Sat, 29 Jun 2013 10:48:43 -0500 Subject: [PATCH] Route: Style fixes; No functional change --- src/bin/network/route/route.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bin/network/route/route.cpp b/src/bin/network/route/route.cpp index 696e288cd8..ca2c310718 100644 --- a/src/bin/network/route/route.cpp +++ b/src/bin/network/route/route.cpp @@ -191,7 +191,7 @@ list_routes(int socket, const char *interfaceName, route_entry &route) const address_family *family = NULL; for (int32 i = 0; kFamilies[i].family >= 0; i++) { if (interface->ifr_route.destination->sa_family - == kFamilies[i].family) { + == kFamilies[i].family) { family = &kFamilies[i]; break; } @@ -223,7 +223,7 @@ list_routes(int socket, const char *interfaceName, route_entry &route) BNetworkAddress mask; mask.SetTo(*route.mask); if (family->preferredPrefixFormat - == PREFIX_PREFER_NETMASK) { + == PREFIX_PREFER_NETMASK) { printf(" %*s ", addressLength, mask.ToString().String()); } else { @@ -231,7 +231,7 @@ list_routes(int socket, const char *interfaceName, route_entry &route) } } else { if (family->preferredPrefixFormat - == PREFIX_PREFER_NETMASK) { + == PREFIX_PREFER_NETMASK) { printf(" %*s ", addressLength, "-"); } else printf(" ");