From 97ed219330bca355a2e9f8b58b19d390b2fd5e41 Mon Sep 17 00:00:00 2001 From: fduncanh Date: Tue, 3 Aug 2021 18:54:29 -0400 Subject: [PATCH] whitespace cleanups --- uxplay.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uxplay.cpp b/uxplay.cpp index b6bd762..2f30f0a 100755 --- a/uxplay.cpp +++ b/uxplay.cpp @@ -100,13 +100,13 @@ std::string find_mac () { std::string random_mac () { char str[3]; std::string mac_address = ""; - int octet = rand()%64; + int octet = rand() % 64; for (int i = 0; i < OCTETS; i++) { if (i == 0) { octet = (octet << 1) + LOCAL; octet = (octet << 1) + MULTICAST; } else { - octet = rand()%256; + octet = rand() % 256; mac_address = mac_address + ":"; } snprintf(str,3,"%02x",octet);