(redirect
    (relay-ip '[/ Relay : String /]')
    (dest-ip
        (select source-ip
            [/ Do get Source, Dest from Pairs /]
            (when '[/ Source : String /]' '[/ Dest : String /]')
            [/ ; /]
            (else '[/ Otherwise : String /]')
        )
    )
)