diff options
-rw-r--r-- | ifconfig.c | 6 | ||||
-rw-r--r-- | networking/ifconfig.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/ifconfig.c b/ifconfig.c index 704909c69..61d73f56b 100644 --- a/ifconfig.c +++ b/ifconfig.c | |||
@@ -15,7 +15,7 @@ | |||
15 | * Foundation; either version 2 of the License, or (at | 15 | * Foundation; either version 2 of the License, or (at |
16 | * your option) any later version. | 16 | * your option) any later version. |
17 | * | 17 | * |
18 | * $Id: ifconfig.c,v 1.9 2001/03/15 20:48:45 andersen Exp $ | 18 | * $Id: ifconfig.c,v 1.10 2001/03/26 16:26:16 mjn3 Exp $ |
19 | * | 19 | * |
20 | */ | 20 | */ |
21 | 21 | ||
@@ -472,9 +472,9 @@ in_ether(char *bufp, struct sockaddr *sap) | |||
472 | if (c >= '0' && c <= '9') { | 472 | if (c >= '0' && c <= '9') { |
473 | c -= '0'; | 473 | c -= '0'; |
474 | } else if (c >= 'a' && c <= 'f') { | 474 | } else if (c >= 'a' && c <= 'f') { |
475 | c -= ('a' + 10); | 475 | c -= ('a' - 10); |
476 | } else if (c >= 'A' && c <= 'F') { | 476 | } else if (c >= 'A' && c <= 'F') { |
477 | c -= ('A' + 10); | 477 | c -= ('A' - 10); |
478 | } else if (j && (c == ':' || c == 0)) { | 478 | } else if (j && (c == ':' || c == 0)) { |
479 | break; | 479 | break; |
480 | } else { | 480 | } else { |
diff --git a/networking/ifconfig.c b/networking/ifconfig.c index 704909c69..61d73f56b 100644 --- a/networking/ifconfig.c +++ b/networking/ifconfig.c | |||
@@ -15,7 +15,7 @@ | |||
15 | * Foundation; either version 2 of the License, or (at | 15 | * Foundation; either version 2 of the License, or (at |
16 | * your option) any later version. | 16 | * your option) any later version. |
17 | * | 17 | * |
18 | * $Id: ifconfig.c,v 1.9 2001/03/15 20:48:45 andersen Exp $ | 18 | * $Id: ifconfig.c,v 1.10 2001/03/26 16:26:16 mjn3 Exp $ |
19 | * | 19 | * |
20 | */ | 20 | */ |
21 | 21 | ||
@@ -472,9 +472,9 @@ in_ether(char *bufp, struct sockaddr *sap) | |||
472 | if (c >= '0' && c <= '9') { | 472 | if (c >= '0' && c <= '9') { |
473 | c -= '0'; | 473 | c -= '0'; |
474 | } else if (c >= 'a' && c <= 'f') { | 474 | } else if (c >= 'a' && c <= 'f') { |
475 | c -= ('a' + 10); | 475 | c -= ('a' - 10); |
476 | } else if (c >= 'A' && c <= 'F') { | 476 | } else if (c >= 'A' && c <= 'F') { |
477 | c -= ('A' + 10); | 477 | c -= ('A' - 10); |
478 | } else if (j && (c == ':' || c == 0)) { | 478 | } else if (j && (c == ':' || c == 0)) { |
479 | break; | 479 | break; |
480 | } else { | 480 | } else { |