diff --git a/src/rpc/gendispatch.pl b/src/rpc/gendispatch.pl
index ac0c7ab52ea2c28043fe207db96b6e4d95a4639a..ceb1ad874611f3a5d6d69123a8b143d5f42a096c 100755
--- a/src/rpc/gendispatch.pl
+++ b/src/rpc/gendispatch.pl
@@ -348,19 +348,19 @@ sub hyper_to_long
 
 if ($mode eq "aclsym") {
     print <<__EOF__;
-# Automatically generated by gendispatch.pl.
+# Automatically generated from $protocol by gendispatch.pl.
 # Do not edit this file.  Any changes you make will be lost.
 __EOF__
 } elsif ($mode eq "aclapi") {
     print <<__EOF__;
 <!--
-  -  Automatically generated by gendispatch.pl.
+  -  Automatically generated from $protocol by gendispatch.pl.
   -  Do not edit this file.  Any changes you make will be lost.
   -->
 __EOF__
 } else {
     print <<__EOF__;
-/* Automatically generated by gendispatch.pl.
+/* Automatically generated from $protocol by gendispatch.pl.
  * Do not edit this file.  Any changes you make will be lost.
  */
 __EOF__