diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2008-05-07 08:37:26 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2008-05-07 08:37:26 +0000 |
commit | c34b55fd17f8920463a4a1bb36584275e104383f (patch) | |
tree | 59676411bff7240a99d32de0877d6014d071b768 /sys/net/if_mpe.c | |
parent | 133b697244d53a990dd7af86b17223baccac4e2f (diff) |
Missing return and correctly indent a debug printf.
Diffstat (limited to 'sys/net/if_mpe.c')
-rw-r--r-- | sys/net/if_mpe.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/if_mpe.c b/sys/net/if_mpe.c index e388d67e2b9..ef5c9992157 100644 --- a/sys/net/if_mpe.c +++ b/sys/net/if_mpe.c @@ -242,13 +242,13 @@ mpe_input(struct mbuf *m) printf("mpe_input: invalid packet with non BoS label\n"); #endif m_free(m); + return; } #ifdef MPLS_DEBUG - printf("mpe_input: got packet with label: %d\n", - ((ntohl(shim->shim_label & MPLS_LABEL_MASK)) >> - MPLS_LABEL_OFFSET)); + printf("mpe_input: got packet with label: %d\n", + ((ntohl(shim->shim_label & MPLS_LABEL_MASK)) >> MPLS_LABEL_OFFSET)); #endif m_adj(m, sizeof(shim)); |