summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@ugent.be>2017-09-18 09:38:29 +0000
committerSander Vrijders <sander.vrijders@ugent.be>2017-09-18 09:38:29 +0000
commit669a8d4edfcc0fb2a7cd6f93e0ad2d0de820371a (patch)
treee2266d94a98bdf498cc64744f9afad61e505a917
parentbf52441ac2844b3e2517a5c98e110f32372f0876 (diff)
parent020c1f16546a4cdb4609919146e20bf9c8ea78bf (diff)
downloadouroboros-669a8d4edfcc0fb2a7cd6f93e0ad2d0de820371a.tar.gz
ouroboros-669a8d4edfcc0fb2a7cd6f93e0ad2d0de820371a.zip
Merged in dstaesse/ouroboros/be-link-state (pull request #595)
ipcpd: Fix src and dst in link-state advertisements
-rw-r--r--src/ipcpd/normal/pol/link_state.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ipcpd/normal/pol/link_state.c b/src/ipcpd/normal/pol/link_state.c
index 3d9e8246..df0933c6 100644
--- a/src/ipcpd/normal/pol/link_state.c
+++ b/src/ipcpd/normal/pol/link_state.c
@@ -416,8 +416,8 @@ static void * calculate_pff(void * o)
return (void *) 0;
}
-static void send_lsa(uint64_t dst,
- uint64_t src)
+static void send_lsa(uint64_t src,
+ uint64_t dst)
{
uint8_t buf[LSA_MAX_LEN];
link_state_msg_t lsa = LINK_STATE_MSG__INIT;