diff --git a/network-config.sh b/network-config.sh index 12bb027..3bf3ae3 100755 --- a/network-config.sh +++ b/network-config.sh @@ -443,7 +443,7 @@ for line in sys.stdin: src = str(e.get("src_ip", "?")) dst = str(e.get("dst_port", "?")) local_ts = ts.astimezone().strftime("%Y-%m-%d %H:%M:%S") - out.append(f" {local_ts:<34} {src:<18} {dst}") + out.append(f" {local_ts:<34} {src:<18} {dst}") if not out: out.append(" (no events in the last hour)") while len(out) < 5: @@ -453,7 +453,7 @@ print("\n".join(out)) } log_columns() { - printf " %-34s %-18s%s\n" " Timestamp" "Source IP" " Destination Port" + printf " %-34s %-18s%s\n" " Timestamp" " Source IP" " Destination Port" printf " %s %s %s\n" " ──────────────────────────────────" "──────────────────" "──────────────────" }