aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ip_input.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/ip_input.c b/ip_input.c
index 8235562..e595455 100644
--- a/ip_input.c
+++ b/ip_input.c
@@ -634,12 +634,11 @@ int ip_dooptions(m) struct mbuf *m;
ip_forward(m, 1);
return (1);
}
-}
-}
-return (0);
-bad : icmp_error(m, type, code, 0, 0);
+ return (0);
+bad:
+ icmp_error(m, type, code, 0, 0);
-return (1);
+ return (1);
}
#endif /* notdef */