]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Remove unused nwfilter field from struct remote_error
authorMatthew Booth <mbooth@redhat.com>
Fri, 7 May 2010 14:38:05 +0000 (16:38 +0200)
committerDaniel Veillard <veillard@redhat.com>
Fri, 7 May 2010 14:38:05 +0000 (16:38 +0200)
Change 965466c1 added a new field to struct remote_error, which broke
the RPC protocol. Fortunately the new field is unused, so this change
simply removes it again.

* src/remote/remote_protocol.(c|h|x): Remove remote_nwfilter from struct
  remote_error

src/remote/remote_protocol.c
src/remote/remote_protocol.h
src/remote/remote_protocol.x

index 187281d780222d7cd64953c62a0b7f56d82318f6..972bf52f3724b52a7216903aad8bb69080b56595 100644 (file)
@@ -227,8 +227,6 @@ xdr_remote_error (XDR *xdrs, remote_error *objp)
                  return FALSE;
          if (!xdr_remote_network (xdrs, &objp->net))
                  return FALSE;
-         if (!xdr_remote_nwfilter (xdrs, &objp->nwfilter))
-                 return FALSE;
         return TRUE;
 }
 
index 6f01da75ab305c879f191476f353eba3485792fe..a600af684f47efb672e9cc012ca2d09bed3c67b7 100644 (file)
@@ -143,7 +143,6 @@ struct remote_error {
         int int1;
         int int2;
         remote_network net;
-        remote_nwfilter nwfilter;
 };
 typedef struct remote_error remote_error;
 
index 8000ee0dfdcf9999419bc3c826d3ddf90d95e15b..1ce488c019b846cdc18d061d9d5a1bd96c5c2288 100644 (file)
@@ -266,7 +266,6 @@ struct remote_error {
     int int1;
     int int2;
     remote_network net;
-    remote_nwfilter nwfilter;
 };
 
 /* Authentication types available thus far.... */