Revision c360b015 src/rm/RequestManager.cc

View differences:

src/rm/RequestManager.cc
759 759
    xmlrpc_c::method * zone_update_pt;
760 760
    xmlrpc_c::method * zone_delete_pt;
761 761
    xmlrpc_c::method * zone_rename_pt;
762
    xmlrpc_c::method * zone_addserver_pt;
762 763

  
763 764
    if (nebula.is_federation_slave())
764 765
    {
......
766 767
        zone_update_pt      = new RequestManagerProxy("one.zone.update");
767 768
        zone_delete_pt      = new RequestManagerProxy("one.zone.delete");
768 769
        zone_rename_pt      = new RequestManagerProxy("one.zone.rename");
770
        zone_addserver_pt   = new RequestManagerProxy("one.zone.addserver");
769 771
    }
770 772
    else
771 773
    {
......
773 775
        zone_update_pt      = new ZoneUpdateTemplate();
774 776
        zone_delete_pt      = new ZoneDelete();
775 777
        zone_rename_pt      = new ZoneRename();
778
        zone_addserver_pt   = new ZoneAddServer();
776 779
    }
777 780

  
778 781
    xmlrpc_c::methodPtr zone_allocate(zone_allocate_pt);
779 782
    xmlrpc_c::methodPtr zone_update(zone_update_pt);
780 783
    xmlrpc_c::methodPtr zone_delete(zone_delete_pt);
781 784
    xmlrpc_c::methodPtr zone_rename(zone_rename_pt);
782

  
783
    xmlrpc_c::methodPtr zone_addserver(new ZoneAddServer());
785
    xmlrpc_c::methodPtr zone_addserver(zone_addserver_pt);
784 786

  
785 787
    xmlrpc_c::methodPtr zone_info(new ZoneInfo());
786 788
    xmlrpc_c::methodPtr zonepool_info(new ZonePoolInfo());

Also available in: Unified diff