Bug 1673 - statically entered IP address does not appear on home menu after disconnecting
: statically entered IP address does not appear on home menu after disconnecting
Status: RESOLVED WORKSFORME
Product: SB 2/3
Classification: Unclassified
Component: Setup
: unspecified
: Macintosh All
: P2 normal (vote)
: Future
Assigned To: Blackketter Dean
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-06-13 15:36 UTC by Blackketter Dean
Modified: 2005-07-18 13:33 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Blackketter Dean 2005-06-13 15:36:25 UTC
problem is that we don't have a valid server name, so it never gets added again.
Comment 1 Blackketter Dean 2005-07-18 09:52:34 UTC
Punting post-6.1, nobody else is complaining about this.
Comment 2 Blackketter Dean 2005-07-18 12:53:23 UTC
I believe that this should fix it:

Index: app/setup.c
===============================================================
====
--- app/setup.c (revision 1162)
+++ app/setup.c (working copy)
@@ -1703,6 +1703,10 @@
 
                config_get_slimserver_name(slimserver_name);
                slimserver_address = config_get_slimserver_address();
+
+               if (strlen(slimserver_name) == 0 && slimserver_address) {
+                       ip_string(slimserver_name, slimserver_address, 0);
+               }
 
                network_slimserver_add(slimserver_name, slimserver_address);
        }
Comment 3 Blackketter Dean 2005-07-18 13:33:42 UTC
Hm, I can't reproduce this now, no wonder nobody's complaining.