patch-options_h 804 B

123456789101112131415161718192021222324
  1. $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
  2. --- dropbear-0.52.orig/options.h 2008-11-11 15:13:50.000000000 +0100
  3. +++ dropbear-0.52/options.h 2009-03-19 19:24:46.000000000 +0100
  4. @@ -10,6 +10,11 @@
  5. * parts are to allow for commandline -DDROPBEAR_XXX options etc.
  6. ******************************************************************/
  7. +#if !defined(DROPBEAR_CLIENT) && !defined(DROPBEAR_SERVER)
  8. +#define DROPBEAR_SERVER
  9. +#define DROPBEAR_CLIENT
  10. +#endif
  11. +
  12. #ifndef DROPBEAR_DEFPORT
  13. #define DROPBEAR_DEFPORT "22"
  14. #endif
  15. @@ -129,7 +134,7 @@ etc) slower (perhaps by 50%). Recommende
  16. /* #define DSS_PROTOK */
  17. /* Whether to do reverse DNS lookups. */
  18. -#define DO_HOST_LOOKUP
  19. +/* #define DO_HOST_LOOKUP */
  20. /* Whether to print the message of the day (MOTD). This doesn't add much code
  21. * size */