Cedar: Don't hardcode prefix for virtual brige destination

This commit is contained in:
Koichiro IWAO committed 2023-06-15 00:15:17 +09:00
1 parent 1c0bdb0c30
commit 696a9bc0a1
4 files changed
+9 -7

No files matched your search

+1 -1
View File
@@ -321,7 +321,7 @@ TOKEN_LIST *GetEthListLinux(bool enum_normal, bool enum_rawip)
{
if (IsInListStr(o, name) == false)
{
if (StartWith(name, "tap_") == false)
if (StartWith(name, UNIX_VLAN_BRDEST_IFACE_PREFIX"_") == false)
{
Add(o, CopyStr(name));
}