Put line break only if IPv4 address exists
This makes a line for the IPv4 address if it is there. If the IPv4 address goes away, the whole line will disappear, leaving just the IPv6 address without an empty line above it.
Interfaces widget remove blank line if no IPv4 address
If the interface had an IPv6 address but no IPv4 address, there was a blank line where the IPv4 address would have been. There is no need for that, and one day IPv4 will be old legacy and systems will routinely have no IPv4 addresses at all - they will all be IPv6. Might as well make that look ordinary on the display now....
Set Interfaces widget IPv6 address
Now that get_interfacestatus() is returning us the IPv6 address, and interfaces.widget.php has a div to put it in, actually update the IPv6 address on the widget.
Send IPv4 and IPv6 address in get_interfacestatus
And make them strong (bold), which is how they are displayed originally by interfaces.widget.phpThis allows the AJAX that manipulates the div's in interfaces.widget.php to get the data, so it can make it update.
Interfaces widget create all div
All div for the various things need to be created here, so that later AJAX can switch the necessary things on/off and write a new IPv4 or IPv6 address into the div when an interface acquires an address.
Use correct port for viewing portal page contents. Ticket #4125
Fix help for UPnP/NAT-PMP
Merge pull request #1391 from ExolonDX/master
Disable dhcp server when interface is disabled. Ticket #4119
Do not check disabled interfaces, ticket #4119
View revisions
Also available in: Atom