diff options
Diffstat (limited to 'ldpd/ldpe.c')
| -rw-r--r-- | ldpd/ldpe.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/ldpd/ldpe.c b/ldpd/ldpe.c index 0a3a03bc38..50875e644d 100644 --- a/ldpd/ldpe.c +++ b/ldpd/ldpe.c @@ -373,8 +373,8 @@ static void ldpe_dispatch_main(struct event *thread)  			if (imsg.hdr.len != IMSG_HEADER_SIZE + sizeof(struct ldpd_init))  				fatalx("INIT imsg with wrong len"); -			memcpy(&init, imsg.data, sizeof(init)); -			ldpe_init(&init); +			memcpy(&ldp_init, imsg.data, sizeof(ldp_init)); +			ldpe_init(&ldp_init);  			break;  		case IMSG_AGENTX_ENABLED:  			ldp_agentx_enabled();  | 
