summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2016-06-05 14:43:34 +0100
committerRussell King <rmk+kernel@armlinux.org.uk>2016-06-05 17:47:57 +0100
commit49b837e4c54b5c1f50d3b9fb8484a7cd1fe6f40a (patch)
treef2c4aea61b362326d299486ed2a316fc06178458
parentc9c9ffd06f4751e9ffd714d80ab492316000c3ce (diff)
Fix CERTFP bug
CERTFP had the client and source reversed, which prevented it from accepting CERTFP messages from neighbours. Fix this.
-rw-r--r--modules/m_certfp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/m_certfp.c b/modules/m_certfp.c
index a63ae4b..e52f9f5 100644
--- a/modules/m_certfp.c
+++ b/modules/m_certfp.c
@@ -49,7 +49,7 @@
* - parv[1] = certificate fingerprint
*/
static int
-ms_certfp(struct Client *source_p, struct Client *client_p,
+ms_certfp(struct Client *client_p, struct Client *source_p,
int parc, char *parv[])
{
if (!IsClient(source_p))