diff options
| author | Don Slice <dslice@cumulusnetworks.com> | 2017-06-28 14:53:27 -0400 |
|---|---|---|
| committer | Don Slice <dslice@cumulusnetworks.com> | 2017-06-28 14:57:36 -0400 |
| commit | 3bec29ac951ab9b3a49fa874b9862bb5404088c1 (patch) | |
| tree | fdf74e2afa219a781c290c3c52efe6c1c97d36d5 /lib/command.c | |
| parent | 3d07d27345fe5832045632d292ac6cdfabbc75e0 (diff) | |
lib/ospf/eigrp: enable ospf and eigrp to use more specific network statements
Issue reported that a configuration commonly used on other routing implementations
fails in frr. If under ospf, "network 172.16.1.1/32 area 0" or under eigrp, "network
172.16.1.1/32" is entered, the appropriate interfaces are not included in the routing
protocol. This was because the code was calling prefix_match, which did not match if
the network statement had a longer mask than the interface being matched. This fix
takes away that restriction by creating a "lib/prefix_match_network_statement" function
which doesn't care about the mask of the interface. Manual testing shows both ospf and
eigrp now can be defined with more specific network statements.
Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
Diffstat (limited to 'lib/command.c')
0 files changed, 0 insertions, 0 deletions
