diff --git a/usr.bin/tftp/main.c b/usr.bin/tftp/main.c index ad3658b76ff8..76aadd29b0b7 100644 --- a/usr.bin/tftp/main.c +++ b/usr.bin/tftp/main.c @@ -262,9 +262,9 @@ setpeer(argc, argv) return; } if (argc == 3) - setpeer0(argv[1], NULL); - else setpeer0(argv[1], argv[2]); + else + setpeer0(argv[1], NULL); } struct modes {