Skip to content

Commit

Permalink
Fix naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakio815 committed Dec 4, 2023
1 parent 85013bc commit 0030dae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions core/federated/RTI/rti_remote.c
Original file line number Diff line number Diff line change
Expand Up @@ -1632,8 +1632,8 @@ void initialize_RTI(rti_remote_t *rti){
rti_remote->base.mutex = &rti_mutex;

// TODO: How to make this compile dependent? When should the options be determined?
rti_remote->rti_net_drv = socket_init(TCP);
rti_remote->clock_net_drv = socket_init(UDP);
rti_remote->rti_netdrv = socket_init(TCP);
rti_remote->clock_netdrv = socket_init(UDP);

// federation_rti related initializations
rti_remote->max_start_time = 0LL;
Expand Down
4 changes: 2 additions & 2 deletions core/federated/RTI/rti_remote.h
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ typedef struct rti_remote_t {
const char* federation_id;

//TODO: Does it have to be a pointer?
netdrv_t *rti_net_drv;
netdrv_t *clock_net_drv;
netdrv_t *rti_netdrv;
netdrv_t *clock_netdrv;


/************* TCP server information *************/
Expand Down

0 comments on commit 0030dae

Please sign in to comment.