Commit 680107d
Improve CDPMsgIPPrefix : allow more than one IP address (#4585)
* Update cdp.py for CDPIPPrefix
if the length of IP addresses prefixes was more than one address all the following content wasn't interpreted (Raw payload). This seams to fix it
* Update cdp.py
A better approach with a list rather than packets
* Update cdp.py case error on Prefix
* Fix PEP8 formatting
* Rename IPPrefix -> CDPPrefix
---------
Co-authored-by: gpotter2 <[email protected]>1 parent 8e08cbf commit 680107d
1 file changed
+12
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
253 | 263 | | |
254 | 264 | | |
255 | 265 | | |
256 | 266 | | |
257 | 267 | | |
258 | | - | |
259 | | - | |
| 268 | + | |
| 269 | + | |
260 | 270 | | |
261 | 271 | | |
262 | 272 | | |
| |||
0 commit comments