diff options
author | Sander Vrijders <[email protected]> | 2017-09-29 13:20:20 +0000 |
---|---|---|
committer | dimitri staessens <[email protected]> | 2017-09-29 13:20:20 +0000 |
commit | 5e974395fadc5e1922f200855c14ca0538ba50dc (patch) | |
tree | bc3808da222d245ab0aecf9d73e22eed5bfb6fd7 /src/ipcpd/normal/routing.c | |
parent | ddba836eb79ace3bd80ea6af69801f402cbffd20 (diff) | |
parent | 39c7f82f4714f8515860d1c0e2726bff29e22944 (diff) | |
download | ouroboros-5e974395fadc5e1922f200855c14ca0538ba50dc.tar.gz ouroboros-5e974395fadc5e1922f200855c14ca0538ba50dc.zip |
Merged in sandervrijders/ouroboros/be-lfas (pull request #620)
ipcpd: normal: Add Loop-Free Alternates routing
Diffstat (limited to 'src/ipcpd/normal/routing.c')
-rw-r--r-- | src/ipcpd/normal/routing.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ipcpd/normal/routing.c b/src/ipcpd/normal/routing.c index afef23a2..909f74cc 100644 --- a/src/ipcpd/normal/routing.c +++ b/src/ipcpd/normal/routing.c @@ -33,13 +33,14 @@ int routing_init(enum pol_routing pr) { switch (pr) { case ROUTING_LINK_STATE: + case ROUTING_LINK_STATE_LFA: r_ops = &link_state_ops; break; default: return -ENOTSUP; } - return r_ops->init(); + return r_ops->init(pr); } struct routing_i * routing_i_create(struct pff * pff) |