Merge "Fix memory access violation in NetworkStack" into sc-dev

This commit is contained in:
TreeHugger Robot
2021-05-31 08:02:13 +00:00
committed by Android (Google) Code Review

View File

@@ -183,7 +183,7 @@ static jboolean com_android_networkstack_tethering_BpfUtils_isEthernet(JNIEnv* e
return false;
default:
jniThrowExceptionFmt(env, "java/io/IOException",
"Unknown hardware address type %s on interface %s", rv,
"Unknown hardware address type %d on interface %s", rv,
interface.c_str());
return false;
}