I'd guess that the networking class would include a lot of "lab" or opportunity to try something, fail, get help, try again, and succeed. Mathematical logic, OTOH, is probably a little easier to learn on your own. I'd take advantage of the interaction you'd get in the networking class.