Commit 4389ffe
authored
[intfutil] set speed to 0 when interface speed is not available (sonic-net#839)
This is not an issue with normal and correct configuration. The
issue was exposed when there is an incorrect configuration, e.g.
contain wrong port names. These wrong port names will still get
populated to the app_db but will not have speed associated.
Lack of speed entry will cause "show interface status" to throw
exception.
Signed-off-by: Ying Xie <[email protected]>1 parent 45c6c68 commit 4389ffe
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
279 | | - | |
| 279 | + | |
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
| |||
0 commit comments