A Dumb question from newbie on applying patch

Hi, I am very new to programming and I wish to learn more by building my router. I have got a R4 recently and started setting it up.

Unfortunately I have suffered from the PPPoE with lan issue and have to deploy this patch before I can connect to the Internet. May I ask how should I apply this patch? Should I do it after ssh into the router? Thank you in advance!