diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2016-06-05 14:43:34 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2019-07-21 20:59:35 +0100 |
commit | 181fb5e9e80249d6b4aec6e3a31168d8bf856fcd (patch) | |
tree | 9fc8d436055dce1dd86a1127e63f14c61e8fdaf5 | |
parent | 3cf1f1d92d1f70d22a5130b8ff9c602acd7f17c8 (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.c | 2 |
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)) |