[Javanetsim-cvs] javaNetSim/core CommandProcessor.java, 1.36, 1.37 DeviceConfig.java, 1.27, 1.28
Status: Beta
Brought to you by:
darkkey
From: QweR <qw...@us...> - 2008-10-26 22:06:54
|
Update of /cvsroot/javanetsim/javaNetSim/core In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv333/core Modified Files: CommandProcessor.java DeviceConfig.java Log Message: cosmetic changes Index: CommandProcessor.java =================================================================== RCS file: /cvsroot/javanetsim/javaNetSim/core/CommandProcessor.java,v retrieving revision 1.36 retrieving revision 1.37 diff -C2 -d -r1.36 -r1.37 *** CommandProcessor.java 26 Oct 2008 22:02:46 -0000 1.36 --- CommandProcessor.java 26 Oct 2008 22:06:51 -0000 1.37 *************** *** 3801,3805 **** if(ni instanceof ConsoleNetworkInterface){ ConsoleNetworkInterface cni = (ConsoleNetworkInterface)ni; ! out += " Databits " + cni.databits + "\n"; String fc = ""; switch(cni.flowcontrol){ --- 3801,3805 ---- if(ni instanceof ConsoleNetworkInterface){ ConsoleNetworkInterface cni = (ConsoleNetworkInterface)ni; ! out += " Databits: " + cni.databits + "\n"; String fc = ""; switch(cni.flowcontrol){ *************** *** 3808,3812 **** case ConsoleNetworkInterface.FLOWCONTROL_SOFTWARE: fc = "software"; break; } ! out += " Flowcontrol " + fc + "\n"; String pa = ""; switch(cni.parity){ --- 3808,3812 ---- case ConsoleNetworkInterface.FLOWCONTROL_SOFTWARE: fc = "software"; break; } ! out += " Flowcontrol: " + fc + "\n"; String pa = ""; switch(cni.parity){ *************** *** 3817,3821 **** case ConsoleNetworkInterface.PARITY_SPACE: pa = "space"; break; } ! out += " Parity " + pa + "\n"; String sb = ""; switch(cni.stopbits){ --- 3817,3821 ---- case ConsoleNetworkInterface.PARITY_SPACE: pa = "space"; break; } ! out += " Parity: " + pa + "\n"; String sb = ""; switch(cni.stopbits){ *************** *** 3824,3829 **** case ConsoleNetworkInterface.STOPBIT_2: sb = "2"; break; } ! out += " Stopbits " + sb + "\n"; ! out += " Speed " + cni.speed + "\n"; } out += "\n"; --- 3824,3829 ---- case ConsoleNetworkInterface.STOPBIT_2: sb = "2"; break; } ! out += " Stopbits: " + sb + "\n"; ! out += " Speed: " + cni.speed + "\n"; } out += "\n"; Index: DeviceConfig.java =================================================================== RCS file: /cvsroot/javanetsim/javaNetSim/core/DeviceConfig.java,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** DeviceConfig.java 26 Oct 2008 22:02:46 -0000 1.27 --- DeviceConfig.java 26 Oct 2008 22:06:51 -0000 1.28 *************** *** 642,646 **** } } ! else conf.add("no router rip"); } --- 642,648 ---- } } ! else { ! //conf.add("no router rip"); ! } } |