Browse Source

tcpops: Fix the example documentation for tcp_get_conid

Niall McAndrew 6 years ago
parent
commit
e094407297
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/modules/tcpops/doc/functions.xml

+ 1 - 1
src/modules/tcpops/doc/functions.xml

@@ -287,7 +287,7 @@ event_route[tcp:closed] {
 			<title><function>tcp_get_conid</function> usage</title>
 			<programlisting><![CDATA[
 ...
-	if(tcp_conid_alive("127.0.0.1:5060", "$var(conid)")) {
+	if(tcp_get_conid("127.0.0.1:5060", "$var(conid)")) {
 		xlog("connection id is: $var(conid)\n");
 	}
 ...