log: normalize unknown AFP dispatch message

This commit is contained in:
OAI
2026-06-01 12:13:02 +00:00
committed by Mario Fetka
parent 24fe261d08
commit ace258eb4e

View File

@@ -4797,9 +4797,11 @@ static int handle_ncp_serv(void)
if (result > -1) data_len = result;
else completition = (uint8)-result;
} else {
XDPRINTF((3,0, "AFP call rejected: ufunc=0x%02x (%s), Mac namespace unavailable, AFP xattr metadata backend=%s",
XDPRINTF((3,0,
"INFO AFP 35/%d UNKNOWN name=\"%s\" backend=\"%s\" fn=0x23 sub=0x%02x result=0xbf",
ufunc, afp_call_name(ufunc),
nwatalk_backend_available() ? "enabled" : "disabled"));
nwatalk_backend_available() ? "enabled" : "disabled",
ufunc));
completition=0xbf; /* we say invalid namespace here */
}
} break;