anchor.diff:  %% 
   %% %CopyrightBegin%
   %%
  -%% Copyright Ericsson AB 2004-2020. All Rights Reserved.
  +%% Copyright Ericsson AB 2004-2021. All Rights Reserved.
   %%
   %% Licensed under the Apache License, Version 2.0 (the "License");
   %% you may not use this file except in compliance with the License.
  
positive.code:     end.
  
  
  get_port_info(Id) ->
      PortInfo = 
  	case (catch erlang:port_info(Id)) of
  	    PI when is_list(PI) ->
  		[{port_info, PI}];
  	    _ ->
  		[]
  	end,
      PortStatus = 
  	case (catch prim_inet:getstatus(Id)) of
  	    {ok, PS} ->
  		[{port_status, PS}];
  	    _ ->
  		[]
  	end,
      PortAct = 
  	case (catch inet:getopts(Id, [active])) of
  	    {ok, PA} ->
  		[{port_act, PA}];
  	    _ ->
  		[]
  	end,
      PortStats = 
  	case (catch inet:getstat(Id)) of
  	    {ok, Stat} ->
  		[{port_stats, Stat}];
  	    _ ->
  		[]
  	end,
      IfList = 
  	case (catch inet:getif(Id)) of
  	    {ok, IFs} ->
  
negative.code: 
  -record(transport,
  	{socket,
           port_info,
           opts,
  	 domain       = snmpUDPDomain,
           inet_backend = []
          }).
  
  -define(DEFAULT_FILTER_MODULE, snmpm_net_if_filter).
  -define(DEFAULT_FILTER_OPTS,   [{module, ?DEFAULT_FILTER_MODULE}]).
  