Revision d622a62e
Added by Phil Davis over 8 years ago
src/usr/local/www/services_dnsmasq.php | ||
---|---|---|
37 | 37 |
require_once("shaper.inc"); |
38 | 38 |
require_once("system.inc"); |
39 | 39 |
|
40 |
// Sort host entries for display in alpabetical order |
|
40 |
// Sort host entries for display in alphabetical order
|
|
41 | 41 |
function hostcmp($a, $b) { |
42 | 42 |
return strcasecmp($a['host'], $b['host']); |
43 | 43 |
} |
... | ... | |
52 | 52 |
usort($a_hosts, "hostcmp"); |
53 | 53 |
} |
54 | 54 |
|
55 |
// Sort domain entries for display in alpabetical order |
|
55 |
// Sort domain entries for display in alphabetical order
|
|
56 | 56 |
function domaincmp($a, $b) { |
57 | 57 |
return strcasecmp($a['domain'], $b['domain']); |
58 | 58 |
} |
Also available in: Unified diff
Comment typos alphabet