e7a6f3
diff --git a/lib/interface.c.old b/lib/interface.c
e7a6f3
index c734c83..9c49a03 100644
e7a6f3
--- a/lib/interface.c.old
e7a6f3
+++ b/lib/interface.c
e7a6f3
@@ -928,10 +928,10 @@ void ife_print_long(struct interface *ptr)
e7a6f3
 	 */
e7a6f3
 	rx = ptr->stats.rx_bytes;
e7a6f3
 	short_rx = rx * 10;
e7a6f3
-	if (rx > 1125899906842624ull) {
e7a6f3
-	    if (rx > (9223372036854775807ull / 10))
e7a6f3
-		short_rx = rx / 112589990684262ull;
e7a6f3
-	    else
e7a6f3
+	if (rx > 1152921504606846976ull) {
e7a6f3
+		short_rx = rx / 115292150460684697ull;
e7a6f3
+		Rext = "EiB";
e7a6f3
+	} else if (rx > 1125899906842624ull) {
e7a6f3
 		short_rx /= 1125899906842624ull;
e7a6f3
 	    Rext = "PiB";
e7a6f3
 	} else if (rx > 1099511627776ull) {
e7a6f3
@@ -949,10 +949,10 @@ void ife_print_long(struct interface *ptr)
e7a6f3
 	}
e7a6f3
 	tx = ptr->stats.tx_bytes;
e7a6f3
 	short_tx = tx * 10;
e7a6f3
-	if (tx > 1125899906842624ull) {
e7a6f3
-	    if (tx > (9223372036854775807ull / 10))
e7a6f3
-		short_tx = tx / 112589990684262ull;
e7a6f3
-	    else
e7a6f3
+	if (tx > 1152921504606846976ull) {
e7a6f3
+		short_tx = tx / 115292150460684697ull;
e7a6f3
+		Text = "EiB";
e7a6f3
+	} else if (tx > 1125899906842624ull) {
e7a6f3
 		short_tx /= 1125899906842624ull;
e7a6f3
 	    Text = "PiB";
e7a6f3
 	} else 	if (tx > 1099511627776ull) {