mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
fix typos in variable names
This commit is contained in:
@@ -627,7 +627,7 @@ enum {
|
||||
STATID_RECVFAIL = 9,
|
||||
STATID_ACTIVE = 10
|
||||
};
|
||||
static const isc_statscounter_t upd4statsindex[] = {
|
||||
static const isc_statscounter_t udp4statsindex[] = {
|
||||
isc_sockstatscounter_udp4open,
|
||||
isc_sockstatscounter_udp4openfail,
|
||||
isc_sockstatscounter_udp4close,
|
||||
@@ -640,7 +640,7 @@ static const isc_statscounter_t upd4statsindex[] = {
|
||||
isc_sockstatscounter_udp4recvfail,
|
||||
isc_sockstatscounter_udp4active
|
||||
};
|
||||
static const isc_statscounter_t upd6statsindex[] = {
|
||||
static const isc_statscounter_t udp6statsindex[] = {
|
||||
isc_sockstatscounter_udp6open,
|
||||
isc_sockstatscounter_udp6openfail,
|
||||
isc_sockstatscounter_udp6close,
|
||||
@@ -2601,7 +2601,7 @@ socket_create(isc_socketmgr_t *manager0, int pf, isc_sockettype_t type,
|
||||
switch (sock->type) {
|
||||
case isc_sockettype_udp:
|
||||
sock->statsindex =
|
||||
(pf == AF_INET) ? upd4statsindex : upd6statsindex;
|
||||
(pf == AF_INET) ? udp4statsindex : udp6statsindex;
|
||||
break;
|
||||
case isc_sockettype_tcp:
|
||||
sock->statsindex =
|
||||
|
Reference in New Issue
Block a user