summaryrefslogtreecommitdiff
path: root/sys/net/if_mpe.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2008-05-07 08:37:26 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2008-05-07 08:37:26 +0000
commitc34b55fd17f8920463a4a1bb36584275e104383f (patch)
tree59676411bff7240a99d32de0877d6014d071b768 /sys/net/if_mpe.c
parent133b697244d53a990dd7af86b17223baccac4e2f (diff)
Missing return and correctly indent a debug printf.
Diffstat (limited to 'sys/net/if_mpe.c')
-rw-r--r--sys/net/if_mpe.c6
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));