%%% %%% The contents of this file are subject to the Erlang Public License, %%% Version 1.0, (the "License"); you may not use this file except in %%% compliance with the License. You may obtain a copy of the License at %%% http://www.eddieware.org/EPL %%% %%% The contents of this file are subject to the Erlang Public License %%% License, Version 1.0, (the "License"); you may not use this file %%% except in compliance with the License. You may obtain a copy of the %%% License at http://www.eddieware.org/EPL %%% %%% Software distributed under the License is distributed on an "AS IS" %%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See %%% the License for the specific language governing rights and limitations %%% under the License. %%% %%% The Original Code is Eddie-0.83b1. %%% %%% The Initial Developer of the Original Code is Ericsson Telecom %%% AB. Portions created by Ericsson are Copyright (C), 1998, Ericsson %%% Telecom AB. All Rights Reserved. %%% %%% Contributor(s): ______________________________________. %%% -define(IP2STR(IPAddress_), if IPAddress_ == dynamic -> "dynamic"; true -> lists:flatten(io_lib:format("~w.~w.~w.~w", [element(1,IPAddress_), element(2,IPAddress_), element(3,IPAddress_), element(4,IPAddress_)])) end).