Skip to content

Commit 609445a

Browse files
authored
fix boot type for fast boot (#674)
1 parent 1325cdf commit 609445a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vslib/src/SwitchConfig.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ bool SwitchConfig::parseBootType(
9898
{
9999
bootType = SAI_VS_BOOT_TYPE_WARM;
100100
}
101-
else if (bt == "fast" || bt == SAI_VALUE_VS_BOOT_TYPE_COLD)
101+
else if (bt == "fast" || bt == SAI_VALUE_VS_BOOT_TYPE_FAST)
102102
{
103103
bootType = SAI_VS_BOOT_TYPE_FAST;
104104
}

0 commit comments

Comments
 (0)