@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((address == null) ? 0 : address.hashCode());
		result = prime * result + inPort;
		result = prime * result
				+ ((inboundIface == null) ? 0 : inboundIface.hashCode());
		result = prime * result
				+ ((outboundIface == null) ? 0 : outboundIface.hashCode());
		result = prime * result + (masquerade ? 1231 : 1237);
		result = prime * result + outPort;
		result = prime * result
				+ ((permittedMac == null) ? 0 : permittedMac.hashCode());
		result = prime
				* result
				+ ((permittedNetwork == null) ? 0 : permittedNetwork.hashCode());
		result = prime * result
				+ ((protocol == null) ? 0 : protocol.hashCode());
		result = prime * result
				+ ((sourcePortRange == null) ? 0 : sourcePortRange.hashCode());
		return result;
	}