summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/auth.h
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2002-05-10 03:11:35 +0000
committerbrian <brian@FreeBSD.org>2002-05-10 03:11:35 +0000
commit1947582c12aeca5e9e4746994b70a33ccd12ad69 (patch)
tree0a77e3e35dbd7ef74d395bc1b44948669a61c015 /usr.sbin/ppp/auth.h
parenta361afdafe8b37330c5b031706e2dfc480700962 (diff)
downloadFreeBSD-src-1947582c12aeca5e9e4746994b70a33ccd12ad69.zip
FreeBSD-src-1947582c12aeca5e9e4746994b70a33ccd12ad69.tar.gz
Add support for MS-CHAP authentication via a RADIUS server.
Add support for Reply-Message and MS-CHAP-Error. Sponsored by: Monzoon
Diffstat (limited to 'usr.sbin/ppp/auth.h')
-rw-r--r--usr.sbin/ppp/auth.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/auth.h b/usr.sbin/ppp/auth.h
index 1240120..bbc257c 100644
--- a/usr.sbin/ppp/auth.h
+++ b/usr.sbin/ppp/auth.h
@@ -52,8 +52,8 @@ struct authinfo {
} cfg;
};
-#define auth_Failure(a) (*a->fn.failure)(a);
-#define auth_Success(a) (*a->fn.success)(a);
+#define auth_Failure(a) (*(a)->fn.failure)(a)
+#define auth_Success(a) (*(a)->fn.success)(a)
extern const char *Auth2Nam(u_short, u_char);
extern void auth_Init(struct authinfo *, struct physical *,
OpenPOWER on IntegriCloud