added support for !empty response #1
2
pom.xml
2
pom.xml
|
|
@ -9,7 +9,7 @@
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>me.legrange</groupId>
|
<groupId>me.legrange</groupId>
|
||||||
<artifactId>mikrotik</artifactId>
|
<artifactId>mikrotik</artifactId>
|
||||||
<version>3.0.8</version>
|
<version>3.0.8.1</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<name>Mikrotik API Java Client Library</name>
|
<name>Mikrotik API Java Client Library</name>
|
||||||
<url>https://github.com/GideonLeGrange/mikrotik-java</url>
|
<url>https://github.com/GideonLeGrange/mikrotik-java</url>
|
||||||
|
|
|
||||||
|
|
@ -306,6 +306,7 @@ public final class ApiConnectionImpl extends ApiConnection {
|
||||||
switch (line) {
|
switch (line) {
|
||||||
case "!re":
|
case "!re":
|
||||||
return unpackRe();
|
return unpackRe();
|
||||||
|
case "!empty":
|
||||||
case "!done":
|
case "!done":
|
||||||
return unpackDone();
|
return unpackDone();
|
||||||
case "!trap":
|
case "!trap":
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue