In january, osmo_sock_get_name() was introduced and prints the connection info for a given fd, which looks like this:
127.0.0.1:2905<->127.0.0.1:60661
However, when I first saw this in a log, I was confused: I expect the local address and port to be on the left, while in this string it is on the right.
Is it only me and I should get used to it, or can we reverse that so the local part is on the left? I could argue that in most GSM graphics and ladder diagrams, the client side is on the left, and that we would typically use this string on the client side to indicate where we connected to. Is this even true? Should there be an arg to pick the preferred order? :P
I'll submit a patch if anyone agrees.
~N