diff options
| author | Bruce Momjian | 2003-06-12 07:00:57 +0000 |
|---|---|---|
| committer | Bruce Momjian | 2003-06-12 07:00:57 +0000 |
| commit | e5549a272d922c5d9ed177a823914fdee6ada08d (patch) | |
| tree | f35479de9bd04cdb23e3f4f4650fd283ac03ae4a /src/include | |
| parent | 1cef8ea790e692713c7685b4e8d2a832896d66f3 (diff) | |
Back out this patch because it is patched inside a later patch.
---------------------------------------------------------------------------
here is a patch that allows CIDR netmasks in pg_hba.conf. It allows two
address/mask forms:
. address/maskbits, or
. address netmask (as now)
If the patch is accepted I will submit a documentation patch to cover
it.
This is submitted by agreement with Kurt Roeckx, who has worked on a
patch that covers this and other IPv6 issues.
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/libpq/ip.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/include/libpq/ip.h b/src/include/libpq/ip.h index a6128e213ea..b43d9972663 100644 --- a/src/include/libpq/ip.h +++ b/src/include/libpq/ip.h @@ -5,7 +5,7 @@ * * Copyright (c) 2003, PostgreSQL Global Development Group * - * $Id: ip.h,v 1.6 2003/06/12 02:12:58 momjian Exp $ + * $Id: ip.h,v 1.7 2003/06/12 07:00:57 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -25,8 +25,6 @@ extern char *SockAddr_ntop(const SockAddr *sa, char *dst, size_t cnt, int v4conv); extern int SockAddr_pton(SockAddr *sa, const char *src); -extern int SockAddr_cidr_mask(SockAddr *mask, char *numbits, int family); - extern int isAF_INETx(const int family); extern int rangeSockAddr(const SockAddr *addr, const SockAddr *netaddr, const SockAddr *netmask); |
