Licensing: Update version in file header comments
[adns] / regress / hcommon.c.m4
index dfd0f28..7ca28c1 100644 (file)
@@ -10,7 +10,7 @@ m4_dnl  (See the file INSTALL for full details.)
 m4_dnl  
 m4_dnl  This program is free software; you can redistribute it and/or modify
 m4_dnl  it under the terms of the GNU General Public License as published by
-m4_dnl  the Free Software Foundation; either version 2, or (at your option)
+m4_dnl  the Free Software Foundation; either version 3, or (at your option)
 m4_dnl  any later version.
 m4_dnl  
 m4_dnl  This program is distributed in the hope that it will be useful,
@@ -101,8 +101,8 @@ void Q$1(hm_args_massage($3,void)) {
  m4_define(`hm_arg_socktype', `
   Tvbf($'`1==SOCK_STREAM ? " $'`1=SOCK_STREAM" : " $'`1=SOCK_DGRAM");')
  m4_define(`hm_arg_addrfam', `
-  Tvbf($'`1==PF_INET ? " $'`1=PF_INET" :
-         $'`1==PF_INET6 ? " $'`1=PF_INET6" :
+  Tvbf($'`1==AF_INET ? " $'`1=AF_INET" :
+         $'`1==AF_INET6 ? " $'`1=AF_INET6" :
          " $'`1=AF_???");')
  m4_define(`hm_arg_ign', `')
  m4_define(`hm_arg_fd', `Tvbf(" $'`1=%d",$'`1);')