Changeset 63913 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- Sep 20, 2016 12:31:51 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/resolv_conf_parser.c
r63876 r63913 362 362 if (RTStrCmp(tok, "search") == 0) 363 363 { 364 if (cbSearchBuf == 0)365 {366 LogRel(("NAT: resolv.conf: no buffer space, ignoring search list %s\n", s));367 break;368 }369 370 364 while ((tok = getToken(NULL, &s)) && !NO_VALUE(tok)) 371 365 { … … 377 371 } 378 372 379 Log2(("NAT: resolv.conf: saving search @%td,+%zu\n",380 pszSearchBuf - state->rcps_searchlist_buffer, cbSearchBuf));373 Log2(("NAT: resolv.conf: saving search %s @%td,+%zu\n", 374 tok, pszSearchBuf - state->rcps_searchlist_buffer, cbSearchBuf)); 381 375 state->rcps_searchlist[i] = pszSearchBuf; 382 376 rc = RTStrCopyP(&pszSearchBuf, &cbSearchBuf, tok); … … 390 384 else 391 385 { 392 Log 2(("NAT: resolv.conf: truncated:%s\n", tok));386 LogRel(("NAT: resolv.conf: no buffer space, ignoring search domain %s\n", tok)); 393 387 pszSearchBuf = state->rcps_searchlist[i]; 394 388 cbSearchBuf = sizeof(state->rcps_searchlist_buffer)
Note:
See TracChangeset
for help on using the changeset viewer.