Merge "Add null check to IpManager.dump()"
This commit is contained in:
@@ -608,7 +608,7 @@ public class IpManager extends StateMachine {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void dump(FileDescriptor fd, PrintWriter writer, String[] args) {
|
public void dump(FileDescriptor fd, PrintWriter writer, String[] args) {
|
||||||
if (args.length > 0 && DUMP_ARG_CONFIRM.equals(args[0])) {
|
if (args != null && args.length > 0 && DUMP_ARG_CONFIRM.equals(args[0])) {
|
||||||
// Execute confirmConfiguration() and take no further action.
|
// Execute confirmConfiguration() and take no further action.
|
||||||
confirmConfiguration();
|
confirmConfiguration();
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user