mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-08-28 10:50:05 +02:00
Analysis workflow, remove debug output, strip more whitespace off
ADDRESS lines in testbound range.
This commit is contained in:
+1
-2
@@ -375,8 +375,7 @@ replay_moment_read(char* remain, FILE* in, const char* name,
|
||||
if(parse_keyword(&remain, "ADDRESS")) {
|
||||
while(isspace((unsigned char)*remain))
|
||||
remain++;
|
||||
if(strlen(remain) > 0) /* remove \n */
|
||||
remain[strlen(remain)-1] = 0;
|
||||
strip_end_white(remain);
|
||||
if(!extstrtoaddr(remain, &mom->addr, &mom->addrlen)) {
|
||||
log_err("line %d: could not parse ADDRESS: %s",
|
||||
pstate->lineno, remain);
|
||||
|
||||
Reference in New Issue
Block a user