← Commit list

b5b45a91f

Denis Vlasenko
Denis Vlasenko
2007-03-24
FAILED Duration: 11s

Subject

dnsd: last commit had a typo :(

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

networking/dnsd.c+3 -2
@@ -238,12 +238,12 @@ static int process_packet(uint8_t * buf)
head = (struct dns_head *)buf;
if (head->nquer == 0) {
bb_error_msg("no queries");
- retunr -1;
+ return -1;
}
if (head->flags & 0x8000) {
bb_error_msg("ignoring response packet");
- retunr -1;
+ return -1;
}
from = (void *)&head[1]; // start of query string
@@ -401,4 +401,5 @@ int dnsd_main(int argc, char **argv)
continue;
sendto(udps, buf, r, 0, &lsa->sa, fromlen);
}
+ return 0;
}