tcpip.c (54473) | tcpip.c (54587) |
---|---|
1/* | 1/* |
2 * $FreeBSD: head/usr.sbin/sysinstall/tcpip.c 54473 1999-12-12 04:58:02Z jkh $ | 2 * $FreeBSD: head/usr.sbin/sysinstall/tcpip.c 54587 1999-12-14 04:25:29Z jkh $ |
3 * 4 * Copyright (c) 1995 5 * Gary J Palmer. All rights reserved. 6 * Copyright (c) 1996 7 * Jordan K. Hubbard. All rights reserved. 8 * 9 * Redistribution and use in source and binary forms, with or without 10 * modification, are permitted provided that the following conditions --- 463 unchanged lines hidden (view full) --- 474tcpMenuSelect(dialogMenuItem *self) 475{ 476 Device *tmp; 477 478 tmp = tcpDeviceSelect(); 479 if (tmp && tmp->private && !((DevInfo *)tmp->private)->use_dhcp && !msgYesNo("Would you like to bring the %s interface up right now?", tmp->name)) 480 if (!tmp->init(tmp)) 481 msgConfirm("Initialization of %s device failed.", tmp->name); | 3 * 4 * Copyright (c) 1995 5 * Gary J Palmer. All rights reserved. 6 * Copyright (c) 1996 7 * Jordan K. Hubbard. All rights reserved. 8 * 9 * Redistribution and use in source and binary forms, with or without 10 * modification, are permitted provided that the following conditions --- 463 unchanged lines hidden (view full) --- 474tcpMenuSelect(dialogMenuItem *self) 475{ 476 Device *tmp; 477 478 tmp = tcpDeviceSelect(); 479 if (tmp && tmp->private && !((DevInfo *)tmp->private)->use_dhcp && !msgYesNo("Would you like to bring the %s interface up right now?", tmp->name)) 480 if (!tmp->init(tmp)) 481 msgConfirm("Initialization of %s device failed.", tmp->name); |
482 return DITEM_SUCCESS | DITEM_RESTORE; | 482 return DITEM_SUCCESS; |
483} | 483} |