Use distribution versions as protocol versions too instead of
[silc.git] / prepare
diff --git a/prepare b/prepare
index 8ec6fbca6827342ec94f5f4c3401a2bf357b96d0..ebc33d26280c3689b611638c05953a3dd48bf524 100755 (executable)
--- a/prepare
+++ b/prepare
@@ -142,7 +142,7 @@ file=includes/version_internal.h
 echo "/* Automatically generated by ./prepare */" >$file
 echo "#define SILC_VERSION_STRING \"$version\"" >>$file
 echo "#define SILC_DIST_VERSION_STRING \"$dist_version\"" >>$file
-echo "#define SILC_PROTOCOL_VERSION_STRING \"SILC-1.1-$version\"" >>$file
+echo "#define SILC_PROTOCOL_VERSION_STRING \"SILC-1.1-$dist_version\"" >>$file
 echo "#define SILC_NAME \"SILC $distribution\"" >>$file
 
 # preparing irssi