do not send IPv6 accounting with radius; there is a bug in freeradius-client

This commit is contained in:
Nikos Mavrogiannopoulos
2015-03-02 15:16:50 +01:00
parent 62f578fb5b
commit 651e6d74b3

View File

@@ -364,7 +364,7 @@ static void append_acct_standard(struct radius_ctx_st * pctx, rc_handle *rh,
return;
}
}
#if 0
if (pctx->ipv6[0] != 0) {
struct in6_addr in;
inet_pton(AF_INET6, pctx->ipv6, &in);
@@ -372,7 +372,7 @@ static void append_acct_standard(struct radius_ctx_st * pctx, rc_handle *rh,
return;
}
}
#endif
if (rc_avpair_add(rh, send, PW_ACCT_SESSION_ID, pctx->sid, -1, 0) == NULL) {
return;
}