Merge "Fix memory access violation in NetworkStack" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
1dc094b2c0
@@ -183,7 +183,7 @@ static jboolean com_android_networkstack_tethering_BpfUtils_isEthernet(JNIEnv* e
|
|||||||
return false;
|
return false;
|
||||||
default:
|
default:
|
||||||
jniThrowExceptionFmt(env, "java/io/IOException",
|
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());
|
interface.c_str());
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user