diff options
Diffstat (limited to 'gdhcp/client.c')
-rw-r--r-- | gdhcp/client.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gdhcp/client.c b/gdhcp/client.c index c308b836..a51857fa 100644 --- a/gdhcp/client.c +++ b/gdhcp/client.c @@ -1897,8 +1897,11 @@ static gboolean listener_event(GIOChannel *channel, GIOCondition condition, } else dhcp_client->status_code = 0; - } else + } else { message_type = dhcp_get_option(&packet, DHCP_MESSAGE_TYPE); + if (message_type == NULL) + return TRUE; + } if (message_type == NULL && client_id == NULL) /* No message type / client id option, ignore package */ |