Commit 65403c7
committed
IPv6 mobility: Delete an useless custom check
The truncation is handled by the GET_U_1().
In any case, after 66df248, the
'mhlen = (unsigned)(ep - bp)' was useless, because:
...
Also, change mobility_print() to return -1 if it runs up against the
end of the packet, and stop dissecting if it does so.
...1 parent 4114d55 commit 65403c7
1 file changed
+0
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
206 | | - | |
207 | 206 | | |
208 | 207 | | |
209 | 208 | | |
| |||
217 | 216 | | |
218 | 217 | | |
219 | 218 | | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | 219 | | |
240 | 220 | | |
241 | 221 | | |
| |||
0 commit comments