wdenk | 3863585 | 2002-08-27 05:55:31 +0000 | [diff] [blame] | 1 | /* |
| 2 | * (C) Copyright 2000 |
| 3 | * Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 4 | * |
| 5 | * See file CREDITS for list of people who contributed to this |
| 6 | * project. |
| 7 | * |
| 8 | * This program is free software; you can redistribute it and/or |
| 9 | * modify it under the terms of the GNU General Public License as |
| 10 | * published by the Free Software Foundation; either version 2 of |
| 11 | * the License, or (at your option) any later version. |
| 12 | * |
| 13 | * This program is distributed in the hope that it will be useful, |
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 16 | * GNU General Public License for more details. |
| 17 | * |
| 18 | * You should have received a copy of the GNU General Public License |
| 19 | * along with this program; if not, write to the Free Software |
| 20 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, |
| 21 | * MA 02111-1307 USA |
| 22 | */ |
| 23 | |
| 24 | /* |
| 25 | * Boot support |
| 26 | */ |
| 27 | #include <common.h> |
| 28 | #include <command.h> |
wdenk | 3863585 | 2002-08-27 05:55:31 +0000 | [diff] [blame] | 29 | #include <net.h> |
| 30 | |
Jon Loeliger | c76fe47 | 2007-07-08 18:02:23 -0500 | [diff] [blame] | 31 | #if defined(CONFIG_CMD_NET) |
wdenk | 3863585 | 2002-08-27 05:55:31 +0000 | [diff] [blame] | 32 | |
wdenk | 3863585 | 2002-08-27 05:55:31 +0000 | [diff] [blame] | 33 | extern int do_bootm (cmd_tbl_t *, int, int, char *[]); |
| 34 | |
wdenk | 3c2b3d4 | 2005-04-05 23:32:21 +0000 | [diff] [blame] | 35 | static int netboot_common (proto_t, cmd_tbl_t *, int , char *[]); |
wdenk | 3863585 | 2002-08-27 05:55:31 +0000 | [diff] [blame] | 36 | |
| 37 | int do_bootp (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) |
| 38 | { |
| 39 | return netboot_common (BOOTP, cmdtp, argc, argv); |
| 40 | } |
| 41 | |
wdenk | 0d49839 | 2003-07-01 21:06:45 +0000 | [diff] [blame] | 42 | U_BOOT_CMD( |
| 43 | bootp, 3, 1, do_bootp, |
wdenk | aa5590b | 2004-06-09 12:42:26 +0000 | [diff] [blame] | 44 | "bootp\t- boot image via network using BootP/TFTP protocol\n", |
wdenk | 8bde7f7 | 2003-06-27 21:31:46 +0000 | [diff] [blame] | 45 | "[loadAddress] [bootfilename]\n" |
| 46 | ); |
| 47 | |
wdenk | 3863585 | 2002-08-27 05:55:31 +0000 | [diff] [blame] | 48 | int do_tftpb (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) |
| 49 | { |
| 50 | return netboot_common (TFTP, cmdtp, argc, argv); |
| 51 | } |
| 52 | |
wdenk | 0d49839 | 2003-07-01 21:06:45 +0000 | [diff] [blame] | 53 | U_BOOT_CMD( |
| 54 | tftpboot, 3, 1, do_tftpb, |
wdenk | eeacb89 | 2003-06-28 23:18:28 +0000 | [diff] [blame] | 55 | "tftpboot- boot image via network using TFTP protocol\n", |
wdenk | 8bde7f7 | 2003-06-27 21:31:46 +0000 | [diff] [blame] | 56 | "[loadAddress] [bootfilename]\n" |
| 57 | ); |
| 58 | |
wdenk | 3863585 | 2002-08-27 05:55:31 +0000 | [diff] [blame] | 59 | int do_rarpb (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) |
| 60 | { |
| 61 | return netboot_common (RARP, cmdtp, argc, argv); |
| 62 | } |
| 63 | |
wdenk | 0d49839 | 2003-07-01 21:06:45 +0000 | [diff] [blame] | 64 | U_BOOT_CMD( |
| 65 | rarpboot, 3, 1, do_rarpb, |
wdenk | 8bde7f7 | 2003-06-27 21:31:46 +0000 | [diff] [blame] | 66 | "rarpboot- boot image via network using RARP/TFTP protocol\n", |
| 67 | "[loadAddress] [bootfilename]\n" |
| 68 | ); |
| 69 | |
Jon Loeliger | c76fe47 | 2007-07-08 18:02:23 -0500 | [diff] [blame] | 70 | #if defined(CONFIG_CMD_DHCP) |
wdenk | 3863585 | 2002-08-27 05:55:31 +0000 | [diff] [blame] | 71 | int do_dhcp (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) |
| 72 | { |
| 73 | return netboot_common(DHCP, cmdtp, argc, argv); |
| 74 | } |
wdenk | 8bde7f7 | 2003-06-27 21:31:46 +0000 | [diff] [blame] | 75 | |
wdenk | 0d49839 | 2003-07-01 21:06:45 +0000 | [diff] [blame] | 76 | U_BOOT_CMD( |
| 77 | dhcp, 3, 1, do_dhcp, |
wdenk | aa5590b | 2004-06-09 12:42:26 +0000 | [diff] [blame] | 78 | "dhcp\t- invoke DHCP client to obtain IP/boot params\n", |
wdenk | 8bde7f7 | 2003-06-27 21:31:46 +0000 | [diff] [blame] | 79 | "\n" |
| 80 | ); |
Jon Loeliger | 9025317 | 2007-07-10 11:02:44 -0500 | [diff] [blame] | 81 | #endif |
wdenk | 3863585 | 2002-08-27 05:55:31 +0000 | [diff] [blame] | 82 | |
Jon Loeliger | c76fe47 | 2007-07-08 18:02:23 -0500 | [diff] [blame] | 83 | #if defined(CONFIG_CMD_NFS) |
wdenk | cbd8a35 | 2004-02-24 02:00:03 +0000 | [diff] [blame] | 84 | int do_nfs (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) |
| 85 | { |
| 86 | return netboot_common(NFS, cmdtp, argc, argv); |
| 87 | } |
| 88 | |
| 89 | U_BOOT_CMD( |
| 90 | nfs, 3, 1, do_nfs, |
wdenk | aa5590b | 2004-06-09 12:42:26 +0000 | [diff] [blame] | 91 | "nfs\t- boot image via network using NFS protocol\n", |
wdenk | cbd8a35 | 2004-02-24 02:00:03 +0000 | [diff] [blame] | 92 | "[loadAddress] [host ip addr:bootfilename]\n" |
| 93 | ); |
Jon Loeliger | 9025317 | 2007-07-10 11:02:44 -0500 | [diff] [blame] | 94 | #endif |
wdenk | cbd8a35 | 2004-02-24 02:00:03 +0000 | [diff] [blame] | 95 | |
wdenk | 6e59238 | 2004-04-18 17:39:38 +0000 | [diff] [blame] | 96 | static void netboot_update_env (void) |
wdenk | 3863585 | 2002-08-27 05:55:31 +0000 | [diff] [blame] | 97 | { |
wdenk | 6e59238 | 2004-04-18 17:39:38 +0000 | [diff] [blame] | 98 | char tmp[22]; |
wdenk | 3863585 | 2002-08-27 05:55:31 +0000 | [diff] [blame] | 99 | |
wdenk | 6e59238 | 2004-04-18 17:39:38 +0000 | [diff] [blame] | 100 | if (NetOurGatewayIP) { |
| 101 | ip_to_string (NetOurGatewayIP, tmp); |
| 102 | setenv ("gatewayip", tmp); |
| 103 | } |
wdenk | 3863585 | 2002-08-27 05:55:31 +0000 | [diff] [blame] | 104 | |
wdenk | 6e59238 | 2004-04-18 17:39:38 +0000 | [diff] [blame] | 105 | if (NetOurSubnetMask) { |
| 106 | ip_to_string (NetOurSubnetMask, tmp); |
| 107 | setenv ("netmask", tmp); |
| 108 | } |
wdenk | 3863585 | 2002-08-27 05:55:31 +0000 | [diff] [blame] | 109 | |
wdenk | 6e59238 | 2004-04-18 17:39:38 +0000 | [diff] [blame] | 110 | if (NetOurHostName[0]) |
| 111 | setenv ("hostname", NetOurHostName); |
wdenk | 3863585 | 2002-08-27 05:55:31 +0000 | [diff] [blame] | 112 | |
wdenk | 6e59238 | 2004-04-18 17:39:38 +0000 | [diff] [blame] | 113 | if (NetOurRootPath[0]) |
| 114 | setenv ("rootpath", NetOurRootPath); |
wdenk | 3863585 | 2002-08-27 05:55:31 +0000 | [diff] [blame] | 115 | |
wdenk | 6e59238 | 2004-04-18 17:39:38 +0000 | [diff] [blame] | 116 | if (NetOurIP) { |
| 117 | ip_to_string (NetOurIP, tmp); |
| 118 | setenv ("ipaddr", tmp); |
| 119 | } |
wdenk | 3863585 | 2002-08-27 05:55:31 +0000 | [diff] [blame] | 120 | |
wdenk | 6e59238 | 2004-04-18 17:39:38 +0000 | [diff] [blame] | 121 | if (NetServerIP) { |
| 122 | ip_to_string (NetServerIP, tmp); |
| 123 | setenv ("serverip", tmp); |
| 124 | } |
wdenk | 3863585 | 2002-08-27 05:55:31 +0000 | [diff] [blame] | 125 | |
wdenk | 6e59238 | 2004-04-18 17:39:38 +0000 | [diff] [blame] | 126 | if (NetOurDNSIP) { |
| 127 | ip_to_string (NetOurDNSIP, tmp); |
| 128 | setenv ("dnsip", tmp); |
| 129 | } |
Jon Loeliger | 1fe80d7 | 2007-07-09 22:08:34 -0500 | [diff] [blame] | 130 | #if defined(CONFIG_BOOTP_DNS2) |
wdenk | 6e59238 | 2004-04-18 17:39:38 +0000 | [diff] [blame] | 131 | if (NetOurDNS2IP) { |
| 132 | ip_to_string (NetOurDNS2IP, tmp); |
| 133 | setenv ("dnsip2", tmp); |
| 134 | } |
stroese | fe389a8 | 2003-08-28 14:17:32 +0000 | [diff] [blame] | 135 | #endif |
wdenk | 6e59238 | 2004-04-18 17:39:38 +0000 | [diff] [blame] | 136 | if (NetOurNISDomain[0]) |
| 137 | setenv ("domain", NetOurNISDomain); |
wdenk | ea287de | 2005-04-01 00:25:43 +0000 | [diff] [blame] | 138 | |
Jon Loeliger | c76fe47 | 2007-07-08 18:02:23 -0500 | [diff] [blame] | 139 | #if defined(CONFIG_CMD_SNTP) \ |
Jon Loeliger | 1fe80d7 | 2007-07-09 22:08:34 -0500 | [diff] [blame] | 140 | && defined(CONFIG_BOOTP_TIMEOFFSET) |
wdenk | ea287de | 2005-04-01 00:25:43 +0000 | [diff] [blame] | 141 | if (NetTimeOffset) { |
| 142 | sprintf (tmp, "%d", NetTimeOffset); |
| 143 | setenv ("timeoffset", tmp); |
| 144 | } |
| 145 | #endif |
Jon Loeliger | c76fe47 | 2007-07-08 18:02:23 -0500 | [diff] [blame] | 146 | #if defined(CONFIG_CMD_SNTP) \ |
Jon Loeliger | 1fe80d7 | 2007-07-09 22:08:34 -0500 | [diff] [blame] | 147 | && defined(CONFIG_BOOTP_NTPSERVER) |
wdenk | ea287de | 2005-04-01 00:25:43 +0000 | [diff] [blame] | 148 | if (NetNtpServerIP) { |
| 149 | ip_to_string (NetNtpServerIP, tmp); |
| 150 | setenv ("ntpserverip", tmp); |
| 151 | } |
| 152 | #endif |
wdenk | 3863585 | 2002-08-27 05:55:31 +0000 | [diff] [blame] | 153 | } |
wdenk | 6e59238 | 2004-04-18 17:39:38 +0000 | [diff] [blame] | 154 | |
wdenk | 3863585 | 2002-08-27 05:55:31 +0000 | [diff] [blame] | 155 | static int |
wdenk | 3c2b3d4 | 2005-04-05 23:32:21 +0000 | [diff] [blame] | 156 | netboot_common (proto_t proto, cmd_tbl_t *cmdtp, int argc, char *argv[]) |
wdenk | 3863585 | 2002-08-27 05:55:31 +0000 | [diff] [blame] | 157 | { |
| 158 | char *s; |
| 159 | int rcode = 0; |
| 160 | int size; |
| 161 | |
| 162 | /* pre-set load_addr */ |
| 163 | if ((s = getenv("loadaddr")) != NULL) { |
| 164 | load_addr = simple_strtoul(s, NULL, 16); |
| 165 | } |
| 166 | |
| 167 | switch (argc) { |
| 168 | case 1: |
| 169 | break; |
| 170 | |
| 171 | case 2: /* only one arg - accept two forms: |
| 172 | * just load address, or just boot file name. |
| 173 | * The latter form must be written "filename" here. |
| 174 | */ |
| 175 | if (argv[1][0] == '"') { /* just boot filename */ |
| 176 | copy_filename (BootFile, argv[1], sizeof(BootFile)); |
| 177 | } else { /* load address */ |
| 178 | load_addr = simple_strtoul(argv[1], NULL, 16); |
| 179 | } |
| 180 | break; |
| 181 | |
| 182 | case 3: load_addr = simple_strtoul(argv[1], NULL, 16); |
| 183 | copy_filename (BootFile, argv[2], sizeof(BootFile)); |
| 184 | |
| 185 | break; |
| 186 | |
| 187 | default: printf ("Usage:\n%s\n", cmdtp->usage); |
Heiko Schocher | fad6340 | 2007-07-13 09:54:17 +0200 | [diff] [blame] | 188 | show_boot_progress (-80); |
wdenk | 3863585 | 2002-08-27 05:55:31 +0000 | [diff] [blame] | 189 | return 1; |
| 190 | } |
| 191 | |
Heiko Schocher | fad6340 | 2007-07-13 09:54:17 +0200 | [diff] [blame] | 192 | show_boot_progress (80); |
Heiko Schocher | 566a494 | 2007-06-22 19:11:54 +0200 | [diff] [blame] | 193 | if ((size = NetLoop(proto)) < 0) { |
Heiko Schocher | fad6340 | 2007-07-13 09:54:17 +0200 | [diff] [blame] | 194 | show_boot_progress (-81); |
wdenk | 3863585 | 2002-08-27 05:55:31 +0000 | [diff] [blame] | 195 | return 1; |
Heiko Schocher | 566a494 | 2007-06-22 19:11:54 +0200 | [diff] [blame] | 196 | } |
wdenk | 3863585 | 2002-08-27 05:55:31 +0000 | [diff] [blame] | 197 | |
Heiko Schocher | fad6340 | 2007-07-13 09:54:17 +0200 | [diff] [blame] | 198 | show_boot_progress (81); |
wdenk | 3863585 | 2002-08-27 05:55:31 +0000 | [diff] [blame] | 199 | /* NetLoop ok, update environment */ |
| 200 | netboot_update_env(); |
| 201 | |
wdenk | eb9401e | 2002-11-11 02:11:37 +0000 | [diff] [blame] | 202 | /* done if no file was loaded (no errors though) */ |
Heiko Schocher | 566a494 | 2007-06-22 19:11:54 +0200 | [diff] [blame] | 203 | if (size == 0) { |
Heiko Schocher | fad6340 | 2007-07-13 09:54:17 +0200 | [diff] [blame] | 204 | show_boot_progress (-82); |
wdenk | eb9401e | 2002-11-11 02:11:37 +0000 | [diff] [blame] | 205 | return 0; |
Heiko Schocher | 566a494 | 2007-06-22 19:11:54 +0200 | [diff] [blame] | 206 | } |
wdenk | eb9401e | 2002-11-11 02:11:37 +0000 | [diff] [blame] | 207 | |
wdenk | 3863585 | 2002-08-27 05:55:31 +0000 | [diff] [blame] | 208 | /* flush cache */ |
| 209 | flush_cache(load_addr, size); |
| 210 | |
| 211 | /* Loading ok, check if we should attempt an auto-start */ |
| 212 | if (((s = getenv("autostart")) != NULL) && (strcmp(s,"yes") == 0)) { |
| 213 | char *local_args[2]; |
| 214 | local_args[0] = argv[0]; |
| 215 | local_args[1] = NULL; |
| 216 | |
| 217 | printf ("Automatic boot of image at addr 0x%08lX ...\n", |
| 218 | load_addr); |
Heiko Schocher | fad6340 | 2007-07-13 09:54:17 +0200 | [diff] [blame] | 219 | show_boot_progress (82); |
wdenk | 3863585 | 2002-08-27 05:55:31 +0000 | [diff] [blame] | 220 | rcode = do_bootm (cmdtp, 0, 1, local_args); |
| 221 | } |
| 222 | |
| 223 | #ifdef CONFIG_AUTOSCRIPT |
| 224 | if (((s = getenv("autoscript")) != NULL) && (strcmp(s,"yes") == 0)) { |
| 225 | printf("Running autoscript at addr 0x%08lX ...\n", load_addr); |
Heiko Schocher | fad6340 | 2007-07-13 09:54:17 +0200 | [diff] [blame] | 226 | show_boot_progress (83); |
wdenk | 3863585 | 2002-08-27 05:55:31 +0000 | [diff] [blame] | 227 | rcode = autoscript (load_addr); |
| 228 | } |
| 229 | #endif |
Heiko Schocher | 566a494 | 2007-06-22 19:11:54 +0200 | [diff] [blame] | 230 | if (rcode < 0) |
Heiko Schocher | fad6340 | 2007-07-13 09:54:17 +0200 | [diff] [blame] | 231 | show_boot_progress (-83); |
Heiko Schocher | 566a494 | 2007-06-22 19:11:54 +0200 | [diff] [blame] | 232 | else |
Heiko Schocher | fad6340 | 2007-07-13 09:54:17 +0200 | [diff] [blame] | 233 | show_boot_progress (84); |
wdenk | 3863585 | 2002-08-27 05:55:31 +0000 | [diff] [blame] | 234 | return rcode; |
| 235 | } |
| 236 | |
Jon Loeliger | c76fe47 | 2007-07-08 18:02:23 -0500 | [diff] [blame] | 237 | #if defined(CONFIG_CMD_PING) |
wdenk | 73a8b27 | 2003-06-05 19:27:42 +0000 | [diff] [blame] | 238 | int do_ping (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) |
| 239 | { |
| 240 | if (argc < 2) |
| 241 | return -1; |
| 242 | |
| 243 | NetPingIP = string_to_ip(argv[1]); |
| 244 | if (NetPingIP == 0) { |
| 245 | printf ("Usage:\n%s\n", cmdtp->usage); |
| 246 | return -1; |
| 247 | } |
| 248 | |
| 249 | if (NetLoop(PING) < 0) { |
| 250 | printf("ping failed; host %s is not alive\n", argv[1]); |
| 251 | return 1; |
| 252 | } |
| 253 | |
| 254 | printf("host %s is alive\n", argv[1]); |
| 255 | |
| 256 | return 0; |
| 257 | } |
wdenk | 6dff552 | 2003-07-15 07:45:49 +0000 | [diff] [blame] | 258 | |
| 259 | U_BOOT_CMD( |
| 260 | ping, 2, 1, do_ping, |
wdenk | aa5590b | 2004-06-09 12:42:26 +0000 | [diff] [blame] | 261 | "ping\t- send ICMP ECHO_REQUEST to network host\n", |
wdenk | 6dff552 | 2003-07-15 07:45:49 +0000 | [diff] [blame] | 262 | "pingAddress\n" |
| 263 | ); |
Jon Loeliger | 9025317 | 2007-07-10 11:02:44 -0500 | [diff] [blame] | 264 | #endif |
wdenk | 73a8b27 | 2003-06-05 19:27:42 +0000 | [diff] [blame] | 265 | |
Jon Loeliger | c76fe47 | 2007-07-08 18:02:23 -0500 | [diff] [blame] | 266 | #if defined(CONFIG_CMD_CDP) |
wdenk | a3d991b | 2004-04-15 21:48:45 +0000 | [diff] [blame] | 267 | |
| 268 | static void cdp_update_env(void) |
| 269 | { |
| 270 | char tmp[16]; |
| 271 | |
| 272 | if (CDPApplianceVLAN != htons(-1)) { |
| 273 | printf("CDP offered appliance VLAN %d\n", ntohs(CDPApplianceVLAN)); |
| 274 | VLAN_to_string(CDPApplianceVLAN, tmp); |
| 275 | setenv("vlan", tmp); |
| 276 | NetOurVLAN = CDPApplianceVLAN; |
| 277 | } |
| 278 | |
| 279 | if (CDPNativeVLAN != htons(-1)) { |
| 280 | printf("CDP offered native VLAN %d\n", ntohs(CDPNativeVLAN)); |
| 281 | VLAN_to_string(CDPNativeVLAN, tmp); |
| 282 | setenv("nvlan", tmp); |
| 283 | NetOurNativeVLAN = CDPNativeVLAN; |
| 284 | } |
| 285 | |
| 286 | } |
| 287 | |
| 288 | int do_cdp (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) |
| 289 | { |
| 290 | int r; |
| 291 | |
| 292 | r = NetLoop(CDP); |
| 293 | if (r < 0) { |
| 294 | printf("cdp failed; perhaps not a CISCO switch?\n"); |
| 295 | return 1; |
| 296 | } |
| 297 | |
| 298 | cdp_update_env(); |
| 299 | |
| 300 | return 0; |
| 301 | } |
| 302 | |
| 303 | U_BOOT_CMD( |
| 304 | cdp, 1, 1, do_cdp, |
wdenk | aa5590b | 2004-06-09 12:42:26 +0000 | [diff] [blame] | 305 | "cdp\t- Perform CDP network configuration\n", |
wdenk | a3d991b | 2004-04-15 21:48:45 +0000 | [diff] [blame] | 306 | ); |
Jon Loeliger | 9025317 | 2007-07-10 11:02:44 -0500 | [diff] [blame] | 307 | #endif |
wdenk | a3d991b | 2004-04-15 21:48:45 +0000 | [diff] [blame] | 308 | |
Jon Loeliger | c76fe47 | 2007-07-08 18:02:23 -0500 | [diff] [blame] | 309 | #if defined(CONFIG_CMD_SNTP) |
wdenk | ea287de | 2005-04-01 00:25:43 +0000 | [diff] [blame] | 310 | int do_sntp (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) |
| 311 | { |
| 312 | char *toff; |
| 313 | |
| 314 | if (argc < 2) { |
| 315 | NetNtpServerIP = getenv_IPaddr ("ntpserverip"); |
| 316 | if (NetNtpServerIP == 0) { |
| 317 | printf ("ntpserverip not set\n"); |
| 318 | return (1); |
| 319 | } |
| 320 | } else { |
| 321 | NetNtpServerIP = string_to_ip(argv[1]); |
| 322 | if (NetNtpServerIP == 0) { |
| 323 | printf ("Bad NTP server IP address\n"); |
| 324 | return (1); |
| 325 | } |
| 326 | } |
| 327 | |
| 328 | toff = getenv ("timeoffset"); |
| 329 | if (toff == NULL) NetTimeOffset = 0; |
| 330 | else NetTimeOffset = simple_strtol (toff, NULL, 10); |
| 331 | |
| 332 | if (NetLoop(SNTP) < 0) { |
| 333 | printf("SNTP failed: host %s not responding\n", argv[1]); |
| 334 | return 1; |
| 335 | } |
| 336 | |
| 337 | return 0; |
| 338 | } |
| 339 | |
| 340 | U_BOOT_CMD( |
| 341 | sntp, 2, 1, do_sntp, |
| 342 | "sntp\t- synchronize RTC via network\n", |
| 343 | "[NTP server IP]\n" |
| 344 | ); |
Jon Loeliger | 9025317 | 2007-07-10 11:02:44 -0500 | [diff] [blame] | 345 | #endif |
wdenk | ea287de | 2005-04-01 00:25:43 +0000 | [diff] [blame] | 346 | |
Jon Loeliger | 9025317 | 2007-07-10 11:02:44 -0500 | [diff] [blame] | 347 | #endif |