Skip to content

Commit

Permalink
return error
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed May 9, 2018
1 parent 8f93bd7 commit 6b682ca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/modules/proto_dhcpv4/proto_dhcpv4.c
Expand Up @@ -237,6 +237,7 @@ static int mod_decode(UNUSED void const *instance, UNUSED REQUEST *request, UNUS
{
#if 1
rad_assert(0 == 1);
return -1;
#else
proto_dhcpv4_t const *inst = talloc_get_type_abort_const(instance, proto_dhcpv4_t);
fr_io_track_t const *track = talloc_get_type_abort_const(request->async->packet_ctx, fr_io_track_t);
Expand Down Expand Up @@ -307,6 +308,7 @@ static ssize_t mod_encode(UNUSED void const *instance, UNUSED REQUEST *request,
{
#if 1
rad_assert(0 == 1);
return -1;
#else
proto_dhcpv4_t const *inst = talloc_get_type_abort_const(instance, proto_dhcpv4_t);
fr_io_track_t const *track = talloc_get_type_abort_const(request->async->packet_ctx, fr_io_track_t);
Expand Down

0 comments on commit 6b682ca

Please sign in to comment.