rem: info.phase == PPP_ESTABLISHED_PHASE ? "Connected" : "Disconnected");
add: info.info.phase == PPP_ESTABLISHED_PHASE ? "Connected" : "Disconnected");
context: show(ppp_interface_filter filter = PPP_REGISTERED_INTERFACES){	PPPManager manager;	if(manager.InitCheck() != B_OK) {		fprintf(stderr, "Error: Could not load interface manager!\n");		return -1;	}		int32 count;	interface_id *interfaces = manager.Interfaces(&count, filter);		if(!interfaces)		return -1;		ppp_interface_info info;	PPPInterface interface;		printf("Listing PPP interfaces:\n");		// print out information for each interface	for(int32 index = 0; index < count; index++) {		interface.SetTo(interfaces[index]);		if(interface.InitCheck() == B_OK) {			interface.GetInterfaceInfo(&info);			printf("\n");						// type and name (if it has one)			if(info.if_unit >= 0) {				printf("Type: Visible\n");				printf("\tName: ppp%ld\n", info.if_unit);			} else				printf("Type: Hidden\n");						// ID			printf("\tID: %ld\n", interface.ID());						// mode			printf("\tMode: ");			if(info.mode == PPP_CLIENT_MODE)				printf("Client\n");			else if(info.mode == PPP_SERVER_MODE)				printf("Server\n");			else				printf("Unknown\n");						// status			printf("\tStatus: %s\n",				info.phase == PPP_ESTABLISHED_PHASE ? "Connected" : "Disconnected");		}	}		delete interfaces;		return 0;}