Re: embedded Perl + empty arpcache bug patch fixes

Andy Lee <[email protected]> Sun, 14 Dec 2003 00:00:24 -0500
Newsgroups gmane.comp.apache.mod-wackamole.general
Message-ID <[email protected]>
Oops. Forgot to include the patch.
embperl_arpcache.patch (text/plain, 843 B)
--- userloader.c        Thu Jun 26 12:03:54 2003
+++ userloader.c        Sat Dec 13 15:21:56 2003
@@ -83,7 +83,7 @@
                 case DLFUNCS_GENRE_DL:
                     handlers[i].handler(safe_pseudo, safe_extras, safe_real);
                     break;
-#ifdef PERL
+#ifdef USE_EMBEDDED_PERL
                 case DLFUNCS_GENRE_PERL:
                     perl_handler(handlers[i].func,
                                  &safe_pseudo, safe_extras, &safe_real);
--- arpcache.c  Sat Oct 11 01:56:41 2003
+++ arpcache.c  Sun Nov 30 15:36:52 2003
@@ -93,7 +93,7 @@
   }

   if( count == 0 ){
-    Alarm(DEBUG, "Local arp-cache seems to be empty");
+    wack_alarm(WACK_DEBUG, "Local arp-cache seems to be empty");
     if(arpcache_private) free(arpcache_private);
     arpcache_psize = 0;
     arpcache_private = malloc(sizeof(address));