Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/net Previous patch created a dead break.



details:   https://anonhg.NetBSD.org/src/rev/8feecc0b48e2
branches:  trunk
changeset: 554476:8feecc0b48e2
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Tue Oct 28 20:15:19 2003 +0000

description:
Previous patch created a dead break.

diffstat:

 sys/net/if_ppp.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r c98188ed2fe4 -r 8feecc0b48e2 sys/net/if_ppp.c
--- a/sys/net/if_ppp.c  Tue Oct 28 20:13:23 2003 +0000
+++ b/sys/net/if_ppp.c  Tue Oct 28 20:15:19 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_ppp.c,v 1.86 2003/10/25 18:29:12 christos Exp $     */
+/*     $NetBSD: if_ppp.c,v 1.87 2003/10/28 20:15:19 mycroft Exp $      */
 /*     Id: if_ppp.c,v 1.6 1997/03/04 03:33:00 paulus Exp       */
 
 /*
@@ -102,7 +102,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ppp.c,v 1.86 2003/10/25 18:29:12 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ppp.c,v 1.87 2003/10/28 20:15:19 mycroft Exp $");
 
 #include "ppp.h"
 
@@ -633,8 +633,7 @@
            bp = &sc->sc_active_filt_out;
            break;
        default:
-           return EINVAL;
-           break;
+           return (EPASSTHROUGH);
        }
        oldcode = bp->bf_insns;
        s = splnet();



Home | Main Index | Thread Index | Old Index