Fix bug in string formatting in EVPD prettyfier.

This commit is contained in:
2025-12-17 00:26:15 +00:00
parent c6f69ec6cd
commit cb19c30132

View File

@@ -597,10 +597,9 @@ public static partial class EVPD
}
else
{
sb
.AppendFormat("\t[slateblue1]{ Localization.Relative_target_port_identifier_0}[/]",
$"[teal]{(descriptor.Binary[2] << 8) + descriptor.Binary[3]}[/]")
.AppendLine();
sb.AppendFormat($"\t[slateblue1]{Localization.Relative_target_port_identifier_0}[/]",
$"[teal]{(descriptor.Binary[2] << 8) + descriptor.Binary[3]}[/]")
.AppendLine();
}
break;