Commit c4cf8e7
committed
Enhance IP filtering to allow multiple USB vNIC IPs
Updated `isAllowedIP()` to support both 192.168.31.1 and 192.168.31.2
as valid USB vNIC IP addresses.
Clean up: Removed redundant error log
Tests:
Redfish event gereration from USB vNIC ip "192.168.31.2" is success
Able to view the redfish event in bmcweb.
Signed-off-by: Raja Sekhar Reddy Gade <[email protected]>1 parent 554426d commit c4cf8e7
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1685 | 1685 | | |
1686 | 1686 | | |
1687 | 1687 | | |
1688 | | - | |
| 1688 | + | |
| 1689 | + | |
1689 | 1690 | | |
1690 | 1691 | | |
1691 | | - | |
| 1692 | + | |
| 1693 | + | |
1692 | 1694 | | |
1693 | 1695 | | |
1694 | 1696 | | |
| |||
1698 | 1700 | | |
1699 | 1701 | | |
1700 | 1702 | | |
1701 | | - | |
1702 | 1703 | | |
1703 | 1704 | | |
1704 | 1705 | | |
| |||
1752 | 1753 | | |
1753 | 1754 | | |
1754 | 1755 | | |
1755 | | - | |
1756 | 1756 | | |
1757 | 1757 | | |
1758 | 1758 | | |
| |||
0 commit comments