Skip to content

Command "w" ignores "--ip-addr" in print_from() if WITH_SYSTEMD is defined

I'm using Rocky Linux 10 with procps-ng-4.0.4 and couldn't make "--ip-addr" work.

I locally compiled the most recent sources from gitlab and same issue.

Looking here https://gitlab.com/procps-ng/procps/-/blob/master/src/w.c#L219 I don't see the "ip_addresses" param being tested in the systemd case.

In the NON systemd case, there's a test "if(ip_addresses) .. else ..".