Franco Fichtner
6e4538d98c
system: simplify return_gateways_status() for #2914
...
* Fill default values first before going through the monitors.
* Remove $byname = false, we can still look up the gateway.
* Avoid calling functions twice; remove spurious variables.
* Use stristr() where status is read to avoid mismatches.
* Kill 'srcip' and 'monitorip' weirdness.
2018-11-20 08:46:48 +01:00
..
2018-06-10 19:44:17 +00:00
2018-11-20 08:46:48 +01:00
2018-08-02 22:05:13 +02:00
2017-12-13 10:43:17 +00:00
2018-11-20 06:20:01 +01:00
2018-11-04 13:27:12 +01:00
2018-11-17 15:09:43 +01:00
2016-04-01 11:40:02 +02:00
2016-05-26 21:05:12 +02:00
2018-11-19 06:58:49 +01:00
2018-06-03 10:22:56 +02:00
2018-06-19 07:51:29 +02:00
2018-06-03 10:22:56 +02:00
2018-06-19 07:51:29 +02:00
2018-06-19 07:51:29 +02:00
2018-06-03 10:22:56 +02:00
2016-03-24 16:14:51 +01:00
2018-10-29 14:56:18 +01:00
2018-10-31 15:07:53 +01:00
2018-04-29 15:29:16 +02:00
2018-05-22 08:42:52 +02:00
2018-04-29 15:29:16 +02:00
2018-07-09 08:56:27 +02:00
2017-08-05 20:57:29 +02:00
2018-09-27 09:15:13 +02:00
2016-10-05 17:47:53 +02:00
2017-10-08 14:57:44 +02:00
2018-10-22 08:48:36 +00:00
2018-06-11 00:03:43 +02:00
2018-08-14 11:23:29 +02:00
2016-12-11 17:17:32 +01:00
2017-03-27 06:28:26 +02:00
2018-09-16 11:44:13 +02:00
2018-05-03 21:42:01 +00:00
2018-11-10 23:42:17 +01:00
2018-09-19 21:15:05 +02:00
2018-11-02 18:41:29 +00:00
2018-09-16 11:44:13 +02:00
2018-06-11 00:03:43 +02:00
2018-10-31 15:07:53 +01:00
2017-08-05 20:21:35 +02:00
2017-04-26 17:56:13 +02:00
2018-03-16 07:41:17 +00:00
2018-06-11 00:03:43 +02:00
2018-09-16 11:44:13 +02:00
2018-06-11 05:18:25 +00:00