Revision 694872ae
Added by Phil Davis over 8 years ago
src/usr/local/www/services_dnsmasq.php | ||
---|---|---|
69 | 69 |
require_once("shaper.inc"); |
70 | 70 |
require_once("system.inc"); |
71 | 71 |
|
72 |
// Sort host entries for display in alpabetical order |
|
72 |
// Sort host entries for display in alphabetical order
|
|
73 | 73 |
function hostcmp($a, $b) { |
74 | 74 |
return strcasecmp($a['host'], $b['host']); |
75 | 75 |
} |
... | ... | |
84 | 84 |
usort($a_hosts, "hostcmp"); |
85 | 85 |
} |
86 | 86 |
|
87 |
// Sort domain entries for display in alpabetical order |
|
87 |
// Sort domain entries for display in alphabetical order
|
|
88 | 88 |
function domaincmp($a, $b) { |
89 | 89 |
return strcasecmp($a['domain'], $b['domain']); |
90 | 90 |
} |
Also available in: Unified diff
Comment typos alphabet
(cherry picked from commit d622a62eb4f3ec8535ead494a863f10bbc409f41)