Revision 2b66dafa
Added by Reid Linnemann over 2 years ago
src/etc/inc/interfaces.inc | ||
---|---|---|
1167 | 1167 |
|
1168 | 1168 |
/* NOTE: $gifkey is not used but useful for passing this function to array_walk. */ |
1169 | 1169 |
function interface_gif_configure(&$gif, $gifkey = "", $flush = true) { |
1170 |
global $g; |
|
1170 | 1171 |
if (!is_array($gif)) { |
1171 | 1172 |
return -1; |
1172 | 1173 |
} |
Also available in: Unified diff
Fix gif interface _routerv6 files not being created. Fixes #11545
interface_gif_configure() uses the global variable $g to look up the temp
directory in which to write the router/gateway files used for gateway
monitoring. The declaration of $g in this scope was inadvertently removed in
revision fee94b6fe34. This commit restores the declaration.