Added the Ability Set which interface is primary under add / edit interface section

This commit is contained in:
johnnyq
2025-02-13 16:26:21 -05:00
parent c81b430318
commit 2e9e49a203
5 changed files with 64 additions and 6 deletions

View File

@@ -2,6 +2,7 @@
defined('FROM_POST_HANDLER') || die("Direct file access is not allowed");
$name = sanitizeInput($_POST['name']);
$primary_interface = sanitizeInput($_POST['primary_interface']) ?? 0;
$description = sanitizeInput($_POST['description']);
$type = sanitizeInput($_POST['type']);
$mac = sanitizeInput($_POST['mac']);