pfsense_fauxapi
pfsense_fauxapi copied to clipboard
Use sort by name by default
Some interfaces IP address may change over time, making it harder to process outputted data. If data is ordered by name, the json can be parsed perfectly in child systems.
Hi - this is a fairly simple patch, but I'm reluctant to change default behavior without a way that allows developers to get-back the original behavior - for example you could pass a $sort
parameter into function gateway_status
Would also be interested in this ability