TotalGriffLock / udmp-jumbo-frames-ppp

Shell script to configure and monitor the baby jumbo frame configuration on the UDM Pro WAN interface
7 stars 2 forks source link

Bug fixes and inverting some logic #5

Open matuszeg opened 1 year ago

matuszeg commented 1 year ago

I went to use this script to replace the one I wrote myself for this same MTU ppp problem. And when I went to do that I ran into some issues. I needed to set my MTU to 1444 which all of the "$PTARGET-8" checks failed against, so I removed them and inverted the logic in some places to check if things are in the desired state instead of checking if things are in a specific wrong state.

I am going to leave comments on the individual changes with more specifics.