diff --git a/README.md b/README.md index 92d2be5..9ee80a7 100644 --- a/README.md +++ b/README.md @@ -113,7 +113,7 @@ In following examples the connection, login and disconnection code will not be r ## Reading data -A simple example that returns a result: Print all interfaces. +A simple example that returns a result - Print all interfaces: ```java @@ -141,7 +141,7 @@ List> rs = con.execute("/interface/print where type=vlan"); ### Selecting returned fields -The same query, but we only want certain result fields names: Print all interfaces of type 'vlan' and return just their name. +The same query, but we only want certain result fields names: Print all interfaces of type 'vlan' and return just their name: ```java List> rs = con.execute("/interface/print where type=vlan return name"); diff --git a/src/main/java/examples/Config.java b/src/main/java/examples/Config.java index 9bc085f..9940c01 100644 --- a/src/main/java/examples/Config.java +++ b/src/main/java/examples/Config.java @@ -7,8 +7,8 @@ package examples; */ public class Config { - public static final String HOST = "wifimanager.adept.za.net"; - public static final String USERNAME = "adept"; - public static final String PASSWORD = "tzrx21j"; + public static final String HOST = "192.168.1.1"; + public static final String USERNAME = "admin"; + public static final String PASSWORD = ""; }