X-Git-Url: http://git.openafs.org/?p=openafs.git;a=blobdiff_plain;f=src%2Fafs%2Fafs_util.c;h=dcf4d99cd48b54c70d751f27d6d9427fae1d3692;hp=bd406163a00131dabbd67c863b13de1ea1d87b73;hb=0287086fa78f0bc0012325c2eadb3dccb6b1f766;hpb=a70f8e1a7e3fcbc13c9a60f8a7409dd01d014afb diff --git a/src/afs/afs_util.c b/src/afs/afs_util.c index bd40616..dcf4d99 100644 --- a/src/afs/afs_util.c +++ b/src/afs/afs_util.c @@ -214,12 +214,9 @@ print_internet_address(char *preamble, struct srvAddr *sa, char *postamble, " (multi-homed address; other same-host interfaces may still be down)\n"; } } - afs_warn("%s%d.%d.%d.%d in cell %s%s (code %d)%s", preamble, (address >> 24), + afs_warnall("%s%d.%d.%d.%d in cell %s%s (code %d)%s", preamble, (address >> 24), (address >> 16) & 0xff, (address >> 8) & 0xff, (address) & 0xff, aserver->cell->cellName, postamble, code, ptr); - afs_warnuser("%s%d.%d.%d.%d in cell %s%s (code %d)%s", preamble, (address >> 24), - (address >> 16) & 0xff, (address >> 8) & 0xff, - (address) & 0xff, aserver->cell->cellName, postamble, code, ptr); if (flag == 1 && rxconn) { /* server was marked down, check Rx to see if this was possibly due to @@ -232,14 +229,7 @@ print_internet_address(char *preamble, struct srvAddr *sa, char *postamble, if (!errmsg) { errmsg = str1 = str2 = ""; } - afs_warn("afs: network error for %d.%d.%d.%d:%d: origin %d type %d code %d%s%s%s\n", - (address >> 24), - (address >> 16) & 0xff, - (address >> 8) & 0xff, - (address) & 0xff, - (int)ntohs(sa->sa_portal), - errorigin, errtype, errcode, str1, errmsg, str2); - afs_warnuser("afs: network error for %d.%d.%d.%d:%d: origin %d type %d code %d%s%s%s\n", + afs_warnall("afs: network error for %d.%d.%d.%d:%d: origin %d type %d code %d%s%s%s\n", (address >> 24), (address >> 16) & 0xff, (address >> 8) & 0xff,