Also the default case should have a break statement

This commit is contained in:
Marcel Holtmann 2010-04-02 13:48:44 -07:00
parent 349d4d8c5d
commit ffa99a1ebb
1 changed files with 2 additions and 1 deletions

View File

@ -198,9 +198,10 @@ static void ppp_recv(GAtPPP *ppp, struct frame_buffer *frame)
ppp->auth->process_packet(ppp->auth, packet);
break;
}
/* Otherwise fall through */
/* fall through */
default:
lcp_protocol_reject(ppp->lcp, frame->bytes, frame->len);
break;
};
g_free(frame);