paul at clubi
Aug 4, 2003, 10:35 AM
Post #2 of 3
here is the patch but with:
- list (struct route).path renamed to paths - done mainly to make
sure every use caused a compile failure. (but also, list name should
be plural imo).
- ospf_route_new(): initialisation of the (struct route *)->paths
list. add list del function pointer, ospf_path_free() here - not in
middle of the code somewhere.
- ospf_route_free(): call list_delete on the paths linked list
- various: update (struct route *)->path to paths. Remove any list
initialisation or delete being done. (hopefully caught them all).
i can undo the first change, and it will be a /much/ smaller patch :)
Paul Jakma paul [at] clubi paul [at] jakma Key ID: 64A2FF6A
warning: do not ever send email to spam [at] dishone
Nature always sides with the hidden flaw.