ArpNetworking / metrics

Metrics project including a tsd aggregator and web-based visualization.
Apache License 2.0
4 stars 11 forks source link

Fix the -i argument by moving automatic calculation to after when options are evaluated #36

Closed philkjacobs closed 4 years ago

philkjacobs commented 4 years ago

In the current code, the -i arg is always ignored.

The evaluation of all arguments comes after the code that checks to see if host_ip_address has a non-empty value.

To fix that, moved the block later in the file.

Tested manually via ./start.sh -ap -i "my.ip.was.here"