1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Don't force an ERROR in shared interfaces

When one Interface shares the Physical Device, this _can be_ a problem. However, not in all cases (for exemple, when using PPPoE connections). So, mark them as "warning", and not "error".
This commit is contained in:
lars18th 2019-02-21 18:32:30 +01:00 committed by GitHub
parent 7ed4367cf5
commit 84626a7335
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -405,7 +405,7 @@
if(duplicateif) if(duplicateif)
{ {
statusMessage += 'Network interface duplicated<br />'; statusMessage += 'Network interface duplicated<br />';
statusMessageClass = "error"; statusMessageClass = "warning";
} }
if(ipv6_discover == 'DETECTED') if(ipv6_discover == 'DETECTED')
{ {
@ -519,4 +519,4 @@
</fieldset> </fieldset>
</div> </div>
</form> </form>
<%+footer%> <%+footer%>