Revision 003f291a
Added by Ermal LUÇI almost 15 years ago
etc/inc/interfaces.inc | ||
---|---|---|
2322 | 2322 |
if (!$g['booting']) { |
2323 | 2323 |
/* remove all IPv4 addresses */ |
2324 | 2324 |
while (mwexec("/sbin/ifconfig " . escapeshellarg($realif) . " -alias", true) == 0); |
2325 |
interface_bring_down($interface); |
|
2325 |
interface_bring_down($interface, true);
|
|
2326 | 2326 |
} |
2327 | 2327 |
|
2328 | 2328 |
/* wireless configuration? */ |
Also available in: Unified diff
Ticket #684. Actually when reconfiguring an interface send the destory flag to avoid a loop with ppp-on-demand.