Commit b9381a5
[xcvrd] Fix xcvrd crash on other port prefixes (#123)
Implement a better check for logical_port_name_to_physical_port_list function.
Currently it will only accept names that start with "Ethernet". If we try to add other ports it will crash.
In the future Arista will implement other port types. For example "Recirc0".
Co-authored-by: Zhi Yuan Carl Zhao <zyzhao@arista.com>1 parent c3c1a59 commit b9381a5
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
109 | 111 | | |
110 | 112 | | |
111 | 113 | | |
112 | 114 | | |
113 | 115 | | |
114 | | - | |
115 | | - | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| |||
0 commit comments