Permalink
Browse files

Fixed typo.

  • Loading branch information...
1 parent 4f74f32 commit 3d1715e8660b0e5596b0affc53a985edcc544556 @Licenser Licenser committed Jun 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 apps/wiggle/src/wiggle_handler.erl
@@ -466,7 +466,7 @@ request('POST', [<<"my">>, <<"networks">>, <<"admin">>], Auth, Req, State) ->
Gateway = libsnarl:parse_ip(proplists:get_value(<<"gateway">>, Vals)),
libsnarl:network_delete(Auth, <<"admin">>),
case libsnarl:network_add(Auth, <<"admin">>, First, Mask, Gateway) of
- ok ->b
+ ok ->
{ok, {NewNetwork, NewMask, NewGateway, _}} = libsnarl:network_get(Auth, <<"admin">>),
Res = [{network, libsnarl:ip_to_str(NewNetwork)},
{netmask, libsnarl:ip_to_str(NewMask)},

0 comments on commit 3d1715e

Please sign in to comment.