Blame SOURCES/net-tools-ifconfig-EiB.patch

aff40f
diff --git a/lib/interface.c.old b/lib/interface.c
aff40f
index 13017ae..3bd999f 100644
aff40f
--- a/lib/interface.c.old
aff40f
+++ b/lib/interface.c
aff40f
@@ -927,7 +927,10 @@ void ife_print_long(struct interface *ptr)
aff40f
 	 */
aff40f
 	rx = ptr->stats.rx_bytes;
aff40f
 	short_rx = rx * 10;
aff40f
-	if (rx > 1125899906842624ull) {
aff40f
+	if (rx > 1152921504606846976ull) {
aff40f
+            short_rx = rx / 115292150460684697ull;
aff40f
+            Rext = "EiB";
aff40f
+	} else if (rx > 1125899906842624ull) {
aff40f
 	    short_rx /= 1125899906842624ull;
aff40f
 	    Rext = "PiB";
aff40f
 	} else if (rx > 1099511627776ull) {
aff40f
@@ -945,7 +948,10 @@ void ife_print_long(struct interface *ptr)
aff40f
 	}
aff40f
 	tx = ptr->stats.tx_bytes;
aff40f
 	short_tx = tx * 10;
aff40f
-	if (tx > 1125899906842624ull) {
aff40f
+	if (tx > 1152921504606846976ull) {
aff40f
+	    short_tx = tx / 115292150460684697ull;
aff40f
+ 	    Text = "EiB";
aff40f
+	} else if (tx > 1125899906842624ull) {
aff40f
 	    short_tx /= 1125899906842624ull;
aff40f
 	    Text = "PiB";
aff40f
 	} else 	if (tx > 1099511627776ull) {