tcp_wrappers not working

Help!!! I have installed tcp_wrappers in order to restrict ftp access to my sun server (V245 - Solaris 9.5)

# more inetd.conf
ftp stream tcp6 nowait root /usr/sbin/tcpd in.ftpd

# more hosts.allow
in.ftpd: svcstftp1
in.ftpd: 10.52.31.107/255.255.255.0

# more hosts.deny
ALL: ALL

I can run "./tcpdmatch in.ftpd 10.52.31.107" at it returns that the access is granted. however when I go to the 10.52.31.107 box it still doesnt ftp connect. The only way I can get it to work is by putting the below statement in the hosts.allow file

# more hosts.allow
ALL: ALL
or (in.ftpd: ALL)