Klaus Demo nginx / 287c22f
log both overrlaped ranges Igor Sysoev 13 years ago
1 changed file(s) with 7 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
623623 goto next;
624624 }
625625
626 s = (ngx_uint_t) range[i].start;
627 e = (ngx_uint_t) range[i].end;
628
626629 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
627 "overlapped range \"%V\"", ctx->net);
630 "range \"%V\" overlaps \"%d.%d.%d.%d-%d.%d.%d.%d\"",
631 ctx->net,
632 h >> 8, h & 0xff, s >> 8, s & 0xff,
633 h >> 8, h & 0xff, e >> 8, e & 0xff);
628634
629635 return NGX_CONF_ERROR;
630636 }