VCL: improve debug output
[vpp.git] / src / vcl / vppcom.h
index 55710b7..5511f04 100644 (file)
@@ -64,6 +64,7 @@ typedef enum
   VPPCOM_EINVAL = -EINVAL,
   VPPCOM_EBADFD = -EBADFD,
   VPPCOM_EAFNOSUPPORT = -EAFNOSUPPORT,
+  VPPCOM_ECONNABORTED = -ECONNABORTED,
   VPPCOM_ECONNRESET = -ECONNRESET,
   VPPCOM_ENOTCONN = -ENOTCONN,
   VPPCOM_ECONNREFUSED = -ECONNREFUSED,
@@ -120,6 +121,10 @@ vppcom_retval_str (int retval)
       st = "VPPCOM_EAFNOSUPPORT";
       break;
 
+    case VPPCOM_ECONNABORTED:
+      st = "VPPCOM_ECONNABORTED";
+      break;
+
     case VPPCOM_ECONNRESET:
       st = "VPPCOM_ECONNRESET";
       break;