Skip to content

Commit

Permalink
comply with formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Funke committed Aug 24, 2022
1 parent 2cf34a4 commit fb3bc93
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gtests/net/packetdrill/netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ static void create_device(struct config *config, struct local_netdev *netdev)
* used by TCP's cwnd bound. */
asprintf(&command, "ifconfig %s down; sleep 1; ifconfig %s up; "
"sleep 1", netdev->name, netdev->name);
if(verbose_system(command) != STATUS_OK)
if (verbose_system(command) != STATUS_OK)
die("Error executing %s\n", command);
free(command);
}
Expand All @@ -285,7 +285,7 @@ static void create_device(struct config *config, struct local_netdev *netdev)
char *command;
asprintf(&command, "ifconfig %s mtu %d",
netdev->name, config->mtu);
if(verbose_system(command) != STATUS_OK)
if (verbose_system(command) != STATUS_OK)
die("Error executing route command '%s'\n", command);
free(command);
}
Expand Down Expand Up @@ -369,7 +369,7 @@ static void route_traffic_to_device(struct config *config,
assert(!"bad wire protocol");
}
#endif /* defined(linux) */
if(verbose_system(command) != STATUS_OK)
if (verbose_system(command) != STATUS_OK)
die("Error executing %s\n", command);
free(route_command);
}
Expand Down

0 comments on commit fb3bc93

Please sign in to comment.