Added proc socket and text proto rpc
This commit is contained in:
parent
68371d4fc5
commit
94c6bd9c49
9 changed files with 214 additions and 290 deletions
|
|
@ -176,7 +176,7 @@ main(int argc,
|
|||
else
|
||||
if (clicon_rpc_connect_inet(h, sockpath, 4535, &s) < 0)
|
||||
goto done;
|
||||
if (clicon_rpc(s, msg, &retdata) < 0)
|
||||
if (clicon_rpc(s, s, msg, &retdata) < 0)
|
||||
goto done;
|
||||
close(s);
|
||||
fprintf(stdout, "%s\n", retdata);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue