dbclient -e option (part 2 of 3: trivial patch)

Nik Soggia dropbear at niksoggia.it
Sat May 14 01:09:33 AWST 2016


here is the trivial patch. -e is still a no-op but it will accept arguments

--- 2016.73.old/cli-runopts.c	2016-03-18 15:44:43.000000000 +0100
+++ 2016.73.new/cli-runopts.c	2016-05-13 18:55:00.000000000 +0100
@@ -297,7 +297,6 @@
  					break;
  #endif
  				case 'F':
-				case 'e':
  #ifndef ENABLE_USER_ALGO_LIST
  				case 'c':
  				case 'm':
@@ -313,6 +312,7 @@
  					print_version();
  					exit(EXIT_SUCCESS);
  					break;
+				case 'e':
  				case 'b':
  					next = &dummy;
  					/* FALLTHROUGH */


More information about the Dropbear mailing list