summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal/pol/alternate_pff.c
Commit message (Collapse)AuthorAgeFilesLines
* ipcpd: Fix bad memory handling in LFA policySander Vrijders2018-05-041-0/+1
| | | | | | | | | | | | | The Loop-Free Alternates policy had bad memory management in two places. In the calculation of the LFAs a table was freed in the first iteration of a loop, whereas it was still needed in the other iterations. It is now freed outside of the loop. In the alternate PFF the address structs were not freed upon shutdown, this has been added as well. It also fixes some bad initialization in the LFA calculation function. Signed-off-by: Sander Vrijders <sander.vrijders@ugent.be> Signed-off-by: Dimitri Staessens <dimitri.staessens@ugent.be>
* include, src: Update copyright to 2018Dimitri Staessens2018-01-091-1/+1
| | | | | | | Happy New Year, Ouroboros. Signed-off-by: Dimitri Staessens <dimitri.staessens@ugent.be> Signed-off-by: Sander Vrijders <sander.vrijders@ugent.be>
* ipcpd: normal: Add alternate hop PFFSander Vrijders2017-09-211-0/+402
This adds a PFF that returns an alternate hop as next hop in case the hop that would have been returned is down.