summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@ugent.be>2017-09-18 11:29:44 +0200
committerdimitri staessens <dimitri.staessens@ugent.be>2017-09-18 11:29:44 +0200
commit020c1f16546a4cdb4609919146e20bf9c8ea78bf (patch)
treee2266d94a98bdf498cc64744f9afad61e505a917
parentbf52441ac2844b3e2517a5c98e110f32372f0876 (diff)
downloadouroboros-020c1f16546a4cdb4609919146e20bf9c8ea78bf.tar.gz
ouroboros-020c1f16546a4cdb4609919146e20bf9c8ea78bf.zip
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;