Merge "Add null check to IpManager.dump()" am: 58406d1df2
am: c5bca697ba
Change-Id: Id5ebbea0c64baa24d162c0545d45915c948f45e6
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