diff --git a/options.h b/options.h
index 437935865a30266eefcd5528c74c715d4c30d7af..2bc47632dd45c459b60000bd71ebc466f0637b06 100644
--- a/options.h
+++ b/options.h
@@ -10,7 +10,7 @@
  * parts are to allow for commandline -DDROPBEAR_XXX options etc.
  ******************************************************************/
 
-#ifndef DROPBEAR_PORT
+#ifndef DROPBEAR_DEFPORT
 #define DROPBEAR_DEFPORT "22"
 #endif