Update functions.inc.php

Fix gateway widget size change on first update.
Inner table size changes because the table in update data does not have the same attributes as the widget.  i.e. border, cellpadding & cellspacing.
Update functions.inc.php

May as well remove this errant td end tag too.
Merge pull request #778 from N0YB/patch-11

Update functions.inc.php
Attempt to recognize pfsync entries from pf logs.
Revert "Improve sh syntax using ${} for all variables"

This was cherry-pick'd by mistake

This reverts commit 1702a838194d2f4ffaa99359f888a42b0832472a.
Add scope to target when it is a link-local, it helps ticket #3150
Add scope to target when it is a link-local, it helps ticket #3150
Add patch from the ticket to fix #3149
Remove this particular form tag that doesn't appear to serve any purpose on this page, and breaks the drop-down zone selector. Fixes #3153
Fixup check for existing easyrule block rule to account for the ipproto and when the ipproto is blank.
fix text to remove non-applicable copy/paste from v4 relay
Delete old route for remote gateway when its IP changes. It fixes #3155
Support the names used by the status page as well as those used internally by service entries.
Also run mtree check post-upgrade.
If upgrading NanoBSD, try to grab the previous timezone file so the zone is preserved on the next boot.
s/require/require_once/g for filter.inc to avoid redeclaration errors in some rare cases.
Use ipprotocol to check gateway protocol, this fix a issue that allow to set more than one default gateway when it's dynamic
Show a count of the CPUs if more than one is detected, and show how those CPUs are supplied by the hardware.
Fix #3172, return_gateway_groups_array() was returning the last vip since it was using wrong variable name on iteration