Without this tweak, the script will generate functions and code that look like virCromulentJsonFrobnicate() instead of the expected virCromulentJSONFrobnicate(), thus making it impossible to integrate the automatically generated functions with the hand-crafted ones. Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx> --- src/rpc/gendispatch.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rpc/gendispatch.pl b/src/rpc/gendispatch.pl index ae3a42c4c1..3708d56810 100755 --- a/src/rpc/gendispatch.pl +++ b/src/rpc/gendispatch.pl @@ -74,6 +74,7 @@ sub fixup_name { $name =~ s/Scsi/SCSI/; $name =~ s/Wwn$/WWN/; $name =~ s/Dhcp$/DHCP/; + $name =~ s/Json/JSON/; return $name; } -- 2.20.1 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list