code: @Override
    public void _LocalPeer_removeIPAddress(String ipAddress) throws MBeanException {
      Configuration[] oldIPAddressesConfig = getMutableConfiguration().getChildren(OwnIPAddresses.ordinal());
  
      Configuration ipAddressToRemove = null;
  
      List<Configuration> newIPAddressesConfig  = Arrays.asList(oldIPAddressesConfig);
      for (Configuration curIPAddress : newIPAddressesConfig) {
        if (curIPAddress.getStringValue(OwnIPAddress.ordinal(), DEFAULT_STRING).equals(ipAddress)) {
          ipAddressToRemove = curIPAddress;
          break;
        }
      }
  
      if (ipAddressToRemove != null) {
        newIPAddressesConfig.remove(ipAddressToRemove);
  
        getMutableConfiguration().setChildren(OwnIPAddresses.ordinal(), (Configuration[]) newIPAddressesConfig.toArray());
  
        if (logger.isInfoEnabled()) {
          logger.info("Local Peer IP Address " + ipAddress + " successfully added. Restart to Diameter stack is needed to apply changes.");
        }
      }
      else {
        if (logger.isInfoEnabled()) {
          logger.info("Local Peer IP Address " + ipAddress + " not found. No changes were made.");
        }
      }
    }
docs: /*
  (non-Javadoc)
  @see org.mobicents.diameter.stack.DiameterStackMultiplexerMBean#_LocalPeer_removeIPAddress(java.lang.String)