Remove the dhclient "handlers" and use the PID file
like everything else. The pid file is already there
under the same name, but we make it explicit in
case something changes or code needs to be traced.
Regression introduced in 566fe52 a while back. Checked the commits
and code again so a bit of assorted cleanup attached. Other spots
in the commits look good.
o Do not try to clean up stray config file, it is rewritten either way
or missed to be deleted during a reconfigure on some other code path.
o Don't stop dhcp6c on save, it stops during interface_bring_down()
Use original element (<div>/<small>) with "data-for" attribute.
The old jquery "for" attribute selectors can be removed once conversion to "data-for" attribute is complete (including plugins).
The old jquery selectors to remove once conversion is complete.
opnsense_ui.js & head.inc
$("*[for='" + $(this).attr('id') + "']")....
$('[for*="help_for"]')....
In order for default gateway switching to work we need to
call routing first, then set up gateways, lastly invoke
filter reload which currently chains the gateway swtich code.
While here, remove deprecation notes.
* remove race conditions in interface_bring_down() so when an old configuration is provided we will actually use the contents of that configuration.
* Next make sure we only save the first occurrence of a changed interface until an apply is hit, to prevent lossing the running configuration.
* Do some additional cleanups for removing virtual ip's when an interface is requested to go down.
For https://github.com/opnsense/core/issues/2221
width, align, valign, cellpadding, cellspacing, border, summary
Error: The width attribute on the table element is obsolete. Use CSS instead.
Error: The align attribute on the table element is obsolete. Use CSS instead.
Error: The valign attribute on the table element is obsolete. Use CSS instead.
Error: The cellpadding attribute on the table element is obsolete. Use CSS instead.
Error: The cellspacing attribute on the table element is obsolete. Use CSS instead.
Error: The border attribute on the table element is obsolete. Use CSS instead.
Error: The summary attribute on the table element is obsolete. Consider describing the structure of the table in a caption element or in a figure element containing the table; or, simplify the structure of the table so that no description is needed.
Certain ISP's, Orange France for example use a VLAN, it is a requirement that the dhcpv6 packets are sent with a different priority, in Orange Frances case it is 6.
This PR allows the user to select whether or not to enable the setting of the VLAN priority for dhcpv6 packets and the value to use.
The is then used in the filter.lib.inc to add the extra set-prio value when the fillter is created.
This PR requires the the sysctl net.link.vlan.mtag_pcp be set to 1.
dhcp6c sends a release signal on exit by default. This can cause the loss of the allocated prefix or address and a new one on the next connection. This is especially the case with many ISPs.
This option allows the user to disable the release send.
I added the -n option to the FreeBSD dhcp6c quite a while back.