interB.setOutstate(interA.getOutstate());
interB.setInDiscardsState(interA.getInDiscardsState());
interB.setOutDiscardsState(interA.getOutDiscardsState());
interB.setInErrorsState(interA.getInErrorsState());
interB.setOutErrorsState(interA.getOutErrorsState());
connectionB.addInterface(interB);
}
connectionB.setInsum(connectionA.getInsum());
connectionB.setOutsum(connectionA.getOutsum());
connectionB.setFrom(connectionA.getFrom());
connectionB.setTo(connectionA.getTo());