Update of /cvsroot/javanetsim/javaNetSim/core/protocolsuite/tcp_ip
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11067/core/protocolsuite/tcp_ip
Modified Files:
IPV4Address.java IpV4.java
Log Message:
Index: IpV4.java
===================================================================
RCS file: /cvsroot/javanetsim/javaNetSim/core/protocolsuite/tcp_ip/IpV4.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** IpV4.java 1 Dec 2005 14:54:37 -0000 1.3
--- IpV4.java 1 Dec 2005 15:04:55 -0000 1.4
***************
*** 324,328 ****
/*
! * Return the route interface for this packet...
* @param Destination IP
* @author Key
--- 324,328 ----
/*
! * Return the interface to route through for this packet...
* @param Destination IP
* @author Key
***************
*** 337,341 ****
String curdestNetwork;
Route_entry r;
!
Enumeration keys1 = routingTable.keys();
while(keys1.hasMoreElements()){
--- 337,342 ----
String curdestNetwork;
Route_entry r;
! //many vars :)
!
Enumeration keys1 = routingTable.keys();
while(keys1.hasMoreElements()){
Index: IPV4Address.java
===================================================================
RCS file: /cvsroot/javanetsim/javaNetSim/core/protocolsuite/tcp_ip/IPV4Address.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** IPV4Address.java 1 Dec 2005 14:54:37 -0000 1.3
--- IPV4Address.java 1 Dec 2005 15:04:55 -0000 1.4
***************
*** 188,192 ****
return NO_CLASS;
}
! //return 0;
}
--- 188,192 ----
return NO_CLASS;
}
! //return 0; UGLY FIX
}
***************
*** 570,574 ****
}
return false;
! } catch (Exception e) {}
return false;
}
--- 570,574 ----
}
return false;
! } catch (Exception e) { }
return false;
}
|