mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Merge parser fix from vendor branch (rev 1.1.1.16)
This commit is contained in:
parent
e6bd8ae1e9
commit
ab203c2d8c
1 changed files with 2 additions and 2 deletions
|
|
@ -1645,7 +1645,7 @@ serve_unchanged (arg)
|
|||
&& strncmp (arg, name, cp - name) == 0)
|
||||
{
|
||||
timefield = strchr (cp + 1, '/') + 1;
|
||||
if (*timefield != '=')
|
||||
if (*timefield == '/')
|
||||
{
|
||||
cp = timefield + strlen (timefield);
|
||||
cp[1] = '\0';
|
||||
|
|
@ -1689,7 +1689,7 @@ serve_is_modified (arg)
|
|||
&& strncmp (arg, name, cp - name) == 0)
|
||||
{
|
||||
timefield = strchr (cp + 1, '/') + 1;
|
||||
if (!(timefield[0] == 'M' && timefield[1] == '/'))
|
||||
if (*timefield == '/')
|
||||
{
|
||||
cp = timefield + strlen (timefield);
|
||||
cp[1] = '\0';
|
||||
|
|
|
|||
Loading…
Reference in a new issue