[Javanetsim-cvs] javaNetSim/core/protocolsuite/tcp_ip SNMP.java, 1.29, 1.30
Status: Beta
Brought to you by:
darkkey
From: QweR <qw...@us...> - 2008-11-02 22:25:32
|
Update of /cvsroot/javanetsim/javaNetSim/core/protocolsuite/tcp_ip In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv5741/core/protocolsuite/tcp_ip Modified Files: SNMP.java Log Message: more fixes Index: SNMP.java =================================================================== RCS file: /cvsroot/javanetsim/javaNetSim/core/protocolsuite/tcp_ip/SNMP.java,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** SNMP.java 24 Oct 2008 16:18:48 -0000 1.29 --- SNMP.java 2 Nov 2008 22:25:23 -0000 1.30 *************** *** 71,78 **** public final static int SNMP_RESPONSE = 5; public final static int DEFAULT_PORT = 161; private static int SNMPID = 0; public boolean running = false; public Vector<SNMPInstance> SNMPgroups = new Vector<SNMPInstance>(0); ! private String current_password = ""; private ApplicationLayerDevice current_device; //following variables be actual temporality --- 71,79 ---- public final static int SNMP_RESPONSE = 5; public final static int DEFAULT_PORT = 161; + public final static String DEFAULT_COMMUNITY = "public"; private static int SNMPID = 0; public boolean running = false; public Vector<SNMPInstance> SNMPgroups = new Vector<SNMPInstance>(0); ! private String current_password = DEFAULT_COMMUNITY; private ApplicationLayerDevice current_device; //following variables be actual temporality |