Mercurial > illumos > illumos-gate
changeset 937:e808c6c8cf8e
6298859 server filtering in PPPoE is damaged
Contributed by Richard Lowe <richlowe@richlowe.net>
author | rshoaib |
---|---|
date | Wed, 16 Nov 2005 17:14:14 -0800 |
parents | bb51223d93d7 |
children | 2d438f28c673 |
files | usr/src/cmd/cmd-inet/usr.lib/pppoe/common.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/cmd/cmd-inet/usr.lib/pppoe/common.c Wed Nov 16 10:49:09 2005 -0800 +++ b/usr/src/cmd/cmd-inet/usr.lib/pppoe/common.c Wed Nov 16 17:14:14 2005 -0800 @@ -22,7 +22,7 @@ /* * PPPoE common utilities and data. * - * Copyright 2000-2002 Sun Microsystems, Inc. All rights reserved. + * Copyright 2005 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -388,7 +388,7 @@ { if (chr >= '0' && chr <= '9') return ((int)(chr - '0')); - if (chr >= 'a' && chr <= 'F') + if (chr >= 'a' && chr <= 'f') return ((int)(chr - 'a' + 10)); return ((int)(chr - 'A' + 10)); }