sgw: properly open and stat the egress file
authorFerry Huberts <ferry.huberts@pelagic.nl>
Thu, 15 Oct 2015 10:49:05 +0000 (12:49 +0200)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Thu, 15 Oct 2015 12:47:57 +0000 (14:47 +0200)
commiteb1f32145aa9e1c14d5a65c0d627a7fd15ef653a
treeaef8424cadd45767fee1237b45b8b4ae4bf5ae12
parentfeceb4516882dd0fe98fa58e792f17e8c24d82c6
sgw: properly open and stat the egress file

Makes the handling the same as pud and sgwdynspeed handle their files.
Also fixes a Coverity warning.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
src/egressFile.c