Thanks to visit codestin.com
Credit goes to github.com

Skip to content

olsrd-neigh listing of the mesh neighbors ignores the hostnames of local IPv6 clients #1142

@AnnieYousar

Description

@AnnieYousar

olsrd/files/olsrd-neigh.sh
https://github.com/openwrt/routing/blob/master/olsrd/files/olsrd-neigh.sh

Script olsrd-neigh.sh lists information about the mesh neighbors. The read_hostnames() procedure therein ignores some IPv6 clients as the input adress is tested against regex [0-9]* .
To include local addresses too, the following diff is sufficient

diff -N olsrd-neigh.sh olsrd-neigh.new
45c45
<                               [0-9]*)
---
>                               [0-9f]*)

/Ann.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions