diff options
Diffstat (limited to 'gatchat/ppp_lcp.c')
-rw-r--r-- | gatchat/ppp_lcp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gatchat/ppp_lcp.c b/gatchat/ppp_lcp.c index e09ed6b4..75ec6196 100644 --- a/gatchat/ppp_lcp.c +++ b/gatchat/ppp_lcp.c @@ -108,10 +108,9 @@ static guint lcp_option_scan(struct ppp_option *option, gpointer user) case PFC: case ACFC: return OPTION_ACCEPT; - break; - default: - return OPTION_REJECT; } + + return OPTION_REJECT; } /* @@ -150,6 +149,7 @@ static void lcp_option_process(gpointer data, gpointer user) break; default: g_printerr("unhandled option %d\n", option->type); + break; } } |