Local to local talk doesn't work if the hostname for the box doesn't
match any an ip on any interface.  Although this sounds wierd, consider 
a non-dedicated ppp link.  Although you can get around this problem with
'talk user@localhost', POLA would say talk should default to localhost.
I couldn't think of any good reason why this shouldn't be the case.


Patch follows.

Joe

----------8<----------8<----------8<----------8<----------8<----------
*** get_names.c.orig    Wed Jul 12 22:38:16 2000
--- get_names.c Wed Jul 12 21:52:17 2000
***************
*** 86,91 ****
--- 86,92 ----
                ;
        if (*cp == '\0') {
                /* this is a local to local talk */
+               strcpy(my_machine_name,"localhost");
                his_name = argv[1];
                his_machine_name = my_machine_name;
        } else {
----------8<----------8<----------8<----------8<----------8<----------

--
Joseph Jacobson <[EMAIL PROTECTED]>    Finger for PGP
#include <std/disclaimer.h>
One should not underestimate roses.
Men have died over a difference in their color.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to