With the addition of link status codes, we can now display a detailed error indication if iflinkwait() fails. Putting the error output in iflinkwait avoids code duplication, and gains symmetry with the other interface management routines; ifopen() already prints an error directly if it cannot open its interface. Modified-by: Michael Brown <mcb30@etherboot.org> Signed-off-by: Michael Brown <mcb30@etherboot.org>tags/v0.9.8
|
|
||
| 154 |
|
154 |
|
| 155 |
|
155 |
|
| 156 |
|
156 |
|
| 157 |
|
|
|
| 158 |
|
|
|
| 159 |
|
|
|
|
157 |
|
|
| 160 |
|
158 |
|
| 161 |
|
|
|
| 162 |
|
|
|
| 163 |
|
159 |
|
| 164 |
|
160 |
|
| 165 |
|
161 |
|
|
|
||
| 103 |
|
103 |
|
| 104 |
|
104 |
|
| 105 |
|
105 |
|
| 106 |
|
|
|
|
106 |
|
|
| 107 |
|
107 |
|
| 108 |
|
108 |
|
| 109 |
|
109 |
|
| 110 |
|
110 |
|
| 111 |
|
111 |
|
| 112 |
|
112 |
|
|
113 |
|
|
|
114 |
|
|
|
115 |
|
|
|
116 |
|
|
|
117 |
|
|
|
118 |
|
|
| 113 |
|
119 |
|
| 114 |
|
120 |
|
| 115 |
|
|
|
| 116 |
|
|
|
| 117 |
|
|
|
| 118 |
|
|
|
|
121 |
|
|
|
122 |
|
|
|
123 |
|
|
|
124 |
|
|
|
125 |
|
|
|
126 |
|
|
|
127 |
|
|
|
128 |
|
|
| 119 |
|
129 |
|
| 120 |
|
130 |
|
| 121 |
|
131 |
|
| 122 |
|
|
|
| 123 |
|
|
|
|
132 |
|
|
|
133 |
|
|
|
134 |
|
|
|
135 |
|
|
| 124 |
|
136 |
|
| 125 |
|
137 |
|
| 126 |
|
138 |
|
|
139 |
|
|
|
140 |
|
|
|
141 |
|
|
|
142 |
|
|
|
143 |
|
|
|
144 |
|
|
|
145 |
|
|
|
146 |
|
|
| 127 |
|
147 |
|