aboutsummaryrefslogtreecommitdiff
path: root/include/net/netns/x_tables.h
diff options
context:
space:
mode:
authorChen Gang <[email protected]>2013-05-16 22:07:22 +0000
committerPablo Neira Ayuso <[email protected]>2013-05-23 11:24:57 +0200
commit8bc14d25ffb9dfc242d3a877bb4fe683adb27692 (patch)
treec7e1e671917dee9b6b5d39cc709f087e8cfbcfee /include/net/netns/x_tables.h
parent00028aa37098168048728acc32ab0206687f2920 (diff)
bridge: netfilter: using strlcpy() instead of strncpy()
'name' has already set all zero when it is defined, so not need let strncpy() to pad it again. 'name' is a string, better always let is NUL terminated, so use strlcpy() instead of strncpy(). Signed-off-by: Chen Gang <[email protected]> Acked-by: Bart De Schuymer <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'include/net/netns/x_tables.h')
0 files changed, 0 insertions, 0 deletions