s/lp/plip/ for PLIP interfaces.

Approved by:	jhb
MFC after:	1 week
This commit is contained in:
Ceri Davies 2006-02-13 20:49:32 +00:00
parent c5f7881911
commit 79c034867a
3 changed files with 3 additions and 3 deletions
usr.sbin

View File

@ -137,7 +137,7 @@ static struct _devname {
{ DEVICE_TYPE_NETWORK, "xl", "3COM 3c90x / 3c90xB PCI ethernet card" },
{ DEVICE_TYPE_NETWORK, "cuad%d", "%s on device %s (COM%d)", 28, 128, 1, 16 },
{ DEVICE_TYPE_NETWORK, "fwe", "FireWire Ethernet emulation" },
{ DEVICE_TYPE_NETWORK, "lp", "Parallel Port IP (PLIP) peer connection" },
{ DEVICE_TYPE_NETWORK, "plip", "Parallel Port IP (PLIP) peer connection" },
{ DEVICE_TYPE_NETWORK, "lo", "Loop-back (local) network interface" },
{ DEVICE_TYPE_NETWORK, "disc", "Software discard network interface" },
{ 0 },

View File

@ -137,7 +137,7 @@ static struct _devname {
{ DEVICE_TYPE_NETWORK, "xl", "3COM 3c90x / 3c90xB PCI ethernet card" },
{ DEVICE_TYPE_NETWORK, "cuad%d", "%s on device %s (COM%d)", 28, 128, 1, 16 },
{ DEVICE_TYPE_NETWORK, "fwe", "FireWire Ethernet emulation" },
{ DEVICE_TYPE_NETWORK, "lp", "Parallel Port IP (PLIP) peer connection" },
{ DEVICE_TYPE_NETWORK, "plip", "Parallel Port IP (PLIP) peer connection" },
{ DEVICE_TYPE_NETWORK, "lo", "Loop-back (local) network interface" },
{ DEVICE_TYPE_NETWORK, "disc", "Software discard network interface" },
{ 0 },

View File

@ -494,7 +494,7 @@ tcpOpenDialog(Device *devp)
dialog_clear_norefresh();
/* Modify the help line for PLIP config */
if (!strncmp(devp->name, "lp", 2))
if (!strncmp(devp->name, "plip", 4))
layout[LAYOUT_EXTRAS].help =
"For PLIP configuration, you must enter the peer's IP address here.";