Package: net-tools
Version: 1.60-17.1
Severity: wishlist
Tags: patch
diff -u net-tools-1.60/ifconfig.c net-tools-1.60/ifconfig.c
--- net-tools-1.60/ifconfig.c
+++ net-tools-1.60/ifconfig.c
@@ -645,14 +645,14 @@
spp++;
continue;
}
- if (!strcmp(*spp, "-pointopoint")) {
+ if (!strcmp(*spp, "-pointopoint") || !strcmp(*spp, "-pointtopoint")) {
goterr |= clr_flag(ifr.ifr_name, IFF_POINTOPOINT);
spp++;
if (test_flag(ifr.ifr_name, IFF_MULTICAST) > 0)
fprintf(stderr, _("Warning: Interface %s still in POINTOPOINT
mode.\n"), ifr.ifr_name);
continue;
}
- if (!strcmp(*spp, "pointopoint")) {
+ if (!strcmp(*spp, "pointopoint") || !strcmp(*spp, "pointtopoint")) {
if (*(spp + 1) != NULL) {
spp++;
safe_strncpy(host, *spp, (sizeof host));
diff -u net-tools-1.60/ifconfig.c net-tools-1.60/ifconfig.c
--- net-tools-1.60/ifconfig.c
+++ net-tools-1.60/ifconfig.c
@@ -645,14 +645,14 @@
spp++;
continue;
}
- if (!strcmp(*spp, "-pointopoint")) {
+ if (!strcmp(*spp, "-pointopoint") || !strcmp(*spp, "-pointtopoint")) {
goterr |= clr_flag(ifr.ifr_name, IFF_POINTOPOINT);
spp++;
if (test_flag(ifr.ifr_name, IFF_MULTICAST) > 0)
fprintf(stderr, _("Warning: Interface %s still in POINTOPOINT
mode.\n"), ifr.ifr_name);
continue;
}
- if (!strcmp(*spp, "pointopoint")) {
+ if (!strcmp(*spp, "pointopoint") || !strcmp(*spp, "pointtopoint")) {
if (*(spp + 1) != NULL) {
spp++;
safe_strncpy(host, *spp, (sizeof host));
diff -u net-tools-1.60/debian/changelog net-tools-1.60/debian/changelog
--- net-tools-1.60/debian/changelog
+++ net-tools-1.60/debian/changelog
@@ -1,3 +1,10 @@
+net-tools (1.60-17.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Accept "pointtopoint" as a synonym for "pointopoint"
+
+ -- Justin Pryzby <[EMAIL PROTECTED]> Tue, 18 Sep 2007 09:59:10 -0400
+
net-tools (1.60-17) unstable; urgency=medium
* arp.c: bus error on sparc64 with latest gcc fixed. (Closes: Bug#340384)