[Autotest] Fixing network_DhcpClasslessStaticRoute

Fixing network_DhcpClasslessStaticRoute by focrcing int division in
dhcp_packet

BUG=None
TEST=network_DhcpClasslessStaticRoute

Change-Id: Ic54200b323abd26dbc66a866b147d527aef717ab
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/autotest/+/2502770
Tested-by: Derek Beckett <dbeckett@chromium.org>
Auto-Submit: Derek Beckett <dbeckett@chromium.org>
Reviewed-by: Greg Edelston <gredelston@google.com>
Reviewed-by: Nicolas Norvez <norvez@chromium.org>
Commit-Queue: Greg Edelston <gredelston@google.com>
diff --git a/client/cros/dhcp_packet.py b/client/cros/dhcp_packet.py
index 695fe1e..1facaa8 100644
--- a/client/cros/dhcp_packet.py
+++ b/client/cros/dhcp_packet.py
@@ -131,7 +131,7 @@
             byte_string += chr(prefix_size)
             # Encode only the significant octets of the destination
             # that fall within the prefix.
-            destination_address_count = (prefix_size + 7) / 8
+            destination_address_count = (prefix_size + 7) // 8
             destination_address = socket.inet_aton(destination)
             byte_string += destination_address[:destination_address_count]
             byte_string += socket.inet_aton(router)
@@ -144,7 +144,7 @@
         offset = 0
         while offset < len(byte_string):
             prefix_size = ord(byte_string[offset])
-            destination_address_count = (prefix_size + 7) / 8
+            destination_address_count = (prefix_size + 7) // 8
             entry_end = offset + 1 + destination_address_count + 4
             if entry_end > len(byte_string):
                 raise Exception("Classless domain list is corrupted.")