Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Correctly handle IPv4 route specified as either 10.1.2.0/255.255.255.…
…0 or 10.1.2.0/24 The existing process_split_xxclude() only handles IPv4 routes formatted as "10.1.2.0/255.255.255.0", not those formatted as "10.1.2.0/24". It's possible to unambiguously distinguish the two and handle the latter case correctly, because no IPv4 netmask address can possibly have a decimal integer value <= 32. Signed-off-by: Daniel Lenski <dlenski@gmail.com> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
- Loading branch information