NDP Table Sort by Expiration Error
When you try to sort the NDP table by expiration, sorting is based on the value of the first digit, irrespective of the unit of the first digit. This means a 9 second expiration is further down than 8 hour expiration. The expiration should be sorted according to unit and value.
This problem exists in both 2.3.4_1 and 2.4.0 RC.
#4 Updated by Jim Pingle about 1 year ago
- Assignee deleted (
- Target version deleted (
The sortable library doesn't have a sorting type that can parse the duration in the format output by ndp and I didn't see a viable way to parse it out quickly. There may be a way to parse the output eventually but it's a bit tough since it is in a format of "<hours>h<minutes>m<seconds>s" and some of those values may be omitted if they are zero.
Unfortunately ndp doesn't yet support libxo either, which helped with parsing the ARP table.