diff options
author | Sander Vrijders <sander.vrijders@ugent.be> | 2017-09-25 15:31:20 +0200 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@ugent.be> | 2017-09-25 15:55:47 +0200 |
commit | 0847da715c82d49b01758d88ecca496eba2c8d34 (patch) | |
tree | 4b1ed345508bcadf31716db93b03169afdc909c8 /src/ipcpd/normal/pol/link_state.c | |
parent | 3074adc1615517150568d396d629175932a08a52 (diff) | |
download | ouroboros-0847da715c82d49b01758d88ecca496eba2c8d34.tar.gz ouroboros-0847da715c82d49b01758d88ecca496eba2c8d34.zip |
ipcpd: normal: Keep index in vertex struct
This keeps the index in the vertex struct so that is more easily
available during Dijkstra.
Diffstat (limited to 'src/ipcpd/normal/pol/link_state.c')
-rw-r--r-- | src/ipcpd/normal/pol/link_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipcpd/normal/pol/link_state.c b/src/ipcpd/normal/pol/link_state.c index ca837cc1..d45dae15 100644 --- a/src/ipcpd/normal/pol/link_state.c +++ b/src/ipcpd/normal/pol/link_state.c @@ -379,7 +379,7 @@ static int nbr_to_fd(uint64_t addr) static void * calculate_pff(void * o) { struct routing_i * instance; - int i; + int i = 0; int fd; struct list_head table; struct list_head * p; |