Bugzilla – Full Text Bug Listing |
Summary: | NotifyInterfaceUp() Adds network route even when netmask is /32 | ||
---|---|---|---|
Product: | ns-3 | Reporter: | Antti Mäkelä <antti.makela> |
Component: | routing | Assignee: | Tom Henderson <tomh> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ns-bugs, tomh |
Priority: | P3 | ||
Version: | pre-release | ||
Hardware: | All | ||
OS: | All | ||
Attachments: | Patch to fix the issue in static routing |
Description
Antti Mäkelä
2010-04-06 04:45:17 EDT
Created attachment 809 [details]
Patch to fix the issue in static routing
Well, here's an example how I fixed it with ipv4-static-routing.cc.
>
> However, not submitting a patch yet - should this be added to ALL routing
> protocols, or perhaps just list-routing?
I agree with the patch. I believe that only Ipv4StaticRouting implements this type of behavior, since it is the only object that holds static or connected routes, so I would suggest that with our routing framework, it should just go to Ipv4StaticRouting. If another standalone (i.e. for use outside of list routing context) routing protocol wants to provide connected routes, it should also implement it. I think that only AODV right now is designed with this use in mind, and in that case, you probably don't want the connected routes anyway.
I plan to push this during the current maintenance window if there are no other comments. changeset: 22d9d9d3c563 |