]> git.ipfire.org Git - thirdparty/asterisk.git/commit
netsock2: Define AST_AF_* enum constants to their AF_* equivalents
authorMatthew Jordan <mjordan@digium.com>
Tue, 5 Nov 2013 21:06:03 +0000 (21:06 +0000)
committerMatthew Jordan <mjordan@digium.com>
Tue, 5 Nov 2013 21:06:03 +0000 (21:06 +0000)
commit135ac61bc5c75be76fe5556338a45903abdab165
treea6fec9061f23ee4adae5c3fb5ee704da6df18554
parent6fa219804d5ad0fa0f317033fd9583b482dc00c9
netsock2: Define AST_AF_* enum constants to their AF_* equivalents

This patch explicitly defines AST_AF_* enum constants to their sys/socket.h
defined equivalents. It is certainly unclear why these constants actually have
to exist, given that netsock2.h includes sys/socket.h; however, since the code
base is already liberally sprinkled with the usage of AST_AF_* (as well as with
direct calls to AF_*), this will at least keep the semantics consistent between
their usage across systems.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@402503 65c4cc65-6c06-0410-ace0-fbb531ad65f3
include/asterisk/acl.h
include/asterisk/netsock2.h